julienfalque
Repos
35
Followers
64
Following
16

Enables Xdebug for CLI PHP scripts on demand

12
1

Events

array_indentation - 1st element in multiline array is not fixed

@YLivay As far as I know nobody is working on this currently.

Created at 16 hours ago
feature: NoSuperfluousPhpdocTagsFixer - support untyped and empty annotations in phpdoc

Thank you @supersmile2009.

Created at 1 week ago

feature: NoSuperfluousPhpdocTagsFixer - support untyped and empty annotations in phpdoc (#5792)

Created at 1 week ago
pull request closed
feature: NoSuperfluousPhpdocTagsFixer - support untyped and empty annotations in phpdoc

This PR fixes a bug/unsupported case where no_superfluous_phpdoc_tags filter won't remove useless @param and @var tags when there's no type and/or when the tag is empty. Examples:

class Foo {
    /**
     * @var
     */
    private $foo;

    /**
     * @param $foo
     */
    public function foo($foo) {}
}
Created at 1 week ago
issue comment
ddcutil detect tries to open /sys/bus/i2c/devices/i2c--1

I confirm increasing sleep multiplier fixes the remaining issue. Everything looks good to me, thank you!

Created at 1 week ago
Curly Braces Position Fixer bug

I tried running braces rule on your code sample on latest master and on v3.0.0 and I didn't notice any difference. In both cases, the code was fixed to:

<?php
    class Foo
    {
        public function test()
        {
        }
    }

Are you sure there was a change with v3.10.0?

Note that removing the extra indentation level was never supported by braces and since we are about to deprecate the rule, it is unlikely to change. However, the new statement_indentation rule does support that so you can switch to it to get your code fixed to:

<?php
class Foo
{
    public function test()
    {
    }
}
Created at 1 week ago
DX: Remove redundant check for PHP <5.2.7

Thank you @jrmajor.

Created at 2 weeks ago

DX: Remove redundant check for PHP <5.2.7 (#6620)

Created at 2 weeks ago
pull request closed
DX: Remove redundant check for PHP <5.2.7

We get a parse error on PHP <7.0 anyway: https://3v4l.org/67j6J#v5.2.6.

Also, maybe the check for HHVM can be dropped too?

Created at 2 weeks ago
minor: Revert "minor: prevent BC break in Runner"

Thank you @keradus.

Created at 2 weeks ago
julienfalque delete branch revert-6634-6615_b
Created at 2 weeks ago

minor: Revert "minor: prevent BC break in Runner" (#6637)

Revert "minor: prevent BC break in Runner (#6634)"

This reverts commit abf6c314b99bd6dc156ab8e39967956141d8594c.

Created at 2 weeks ago
pull request closed
minor: Revert "minor: prevent BC break in Runner"

Reverts FriendsOfPHP/PHP-CS-Fixer#6634

Created at 2 weeks ago
DX: SCA - scope down types

Thank you @SpacePossum.

Created at 2 weeks ago

DX: SCA - scope down types (#6630)

Created at 2 weeks ago
pull request closed
DX: SCA - scope down types
Created at 2 weeks ago
[PHP8.2] Deprecate ${} string interpolation

rfc: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

We already have a rule to do this. When we make the PHP8.2 set it should be added to it.

Created at 3 weeks ago
feature: Add `@PHP82Migration` ruleset

Thank you @Wirone.

Created at 3 weeks ago

feature: Add @PHP82Migration ruleset (#6621)

Created at 3 weeks ago
pull request closed
feature: Add `@PHP82Migration` ruleset

In order to test if current fixers work properly on PHP 8.2 I've created this integration test suite, based on what I see in the repo for previous versions.

This integration test provides fixtures for: #6604, #6605, #6608, #6610 and #6613. We can see what is the result and determine required work.

Created at 3 weeks ago