🐺 Asynchronous Task Queue Based on Distributed Message Passing for PHP.

Overview

chunk Logo

Chunk

Asynchronous Task Queue Based on Distributed Message Passing for PHP

Documentation

Installation:

To install the package via composer, use the following:

$ composer require clivern/chunk

This command requires you to have composer installed globally.

Basic Usage:

First create event handlers. Chunk supports these events

  • EventInterface::ON_MESSAGE_RECEIVED_EVENT
  • EventInterface::ON_MESSAGE_FAILED_EVENT
  • EventInterface::ON_MESSAGE_HANDLED_EVENT
  • EventInterface::ON_MESSAGE_SENT_EVENT
  • EventInterface::ON_MESSAGE_SEND_FAILURE_EVENT
use Clivern\Chunk\Contract\MessageInterface;
use Clivern\Chunk\Contract\EventInterface;
use Clivern\Chunk\Core\EventHandler;

class MessageReceivedEvent implements EventInterface
{
    /**
     * {@inheritdoc}
     */
    public function getType(): string
    {
        return EventInterface::ON_MESSAGE_RECEIVED_EVENT;
    }

    /**
     * {@inheritdoc}
     */
    public function invoke(MessageInterface $message, $exception = null)
    {
        var_dump(sprintf('Message Received Event: %s', (string) $message));
    }
}

class MessageFailedEvent implements EventInterface
{
    /**
     * {@inheritdoc}
     */
    public function getType(): string
    {
        return EventInterface::ON_MESSAGE_FAILED_EVENT;
    }

    /**
     * {@inheritdoc}
     */
    public function invoke(MessageInterface $message, $exception = null)
    {
        var_dump(sprintf('Message Failed Event: %s', (string) $message));
    }
}

class MessageHandledEvent implements EventInterface
{
    /**
     * {@inheritdoc}
     */
    public function getType(): string
    {
        return EventInterface::ON_MESSAGE_HANDLED_EVENT;
    }

    /**
     * {@inheritdoc}
     */
    public function invoke(MessageInterface $message, $exception = null)
    {
        var_dump(sprintf('Message Handled Event: %s', (string) $message));
    }
}

class MessageSentEvent implements EventInterface
{
    /**
     * {@inheritdoc}
     */
    public function getType(): string
    {
        return EventInterface::ON_MESSAGE_SENT_EVENT;
    }

    /**
     * {@inheritdoc}
     */
    public function invoke(MessageInterface $message, $exception = null)
    {
        var_dump(sprintf('Message Sent Event: %s', (string) $message));
    }
}

class MessageSendFailureEvent implements EventInterface
{
    /**
     * {@inheritdoc}
     */
    public function getType(): string
    {
        return EventInterface::ON_MESSAGE_SEND_FAILURE_EVENT;
    }

    /**
     * {@inheritdoc}
     */
    public function invoke(MessageInterface $message, $exception = null)
    {
        var_dump(sprintf('Message Send Failure Event: %s', (string) $message));
        var_dump(sprintf('Error raised: %s', $exception->getMessage()));
    }
}

$eventHandler = new EventHandler();
$eventHandler->addEvent(new MessageReceivedEvent())
             ->addEvent(new MessageFailedEvent())
             ->addEvent(new MessageHandledEvent())
             ->addEvent(new MessageSendFailureEvent())
             ->addEvent(new MessageSentEvent());

Then create async message handlers, Each handler has a unique key so chunk can map the message to the appropriate handler.

In the following code, we create a handler to process any message with type serviceA.processOrder.

use Clivern\Chunk\Contract\MessageHandlerInterface;
use Clivern\Chunk\Contract\MessageInterface;
use Clivern\Chunk\Core\Mapper;

class ProcessOrderMessageHandler implements MessageHandlerInterface
{
    /**
     * Invoke Handler.
     */
    public function invoke(MessageInterface $message): MessageHandlerInterface
    {
        var_dump(sprintf('Process Message: %s', (string) $message));

        return $this;
    }

    /**
     * onSuccess Event.
     *
     * @return void
     */
    public function onSuccess()
    {
        var_dump('Operation Succeeded');
    }

    /**
     * onFailure Event.
     *
     * @return void
     */
    public function onFailure()
    {
        var_dump('Operation Failed');
    }

    /**
     * Handler Type.
     */
    public function getType(): string
    {
        return 'serviceA.processOrder';
    }
}

$mapper = new Mapper();
$mapper->addHandler(new ProcessOrderMessageHandler());

Then create an instance of the message broker.

use Clivern\Chunk\Core\Broker\RabbitMQ;

$broker = new RabbitMQ('127.0.0.1', 5672, 'guest', 'guest');

Now you can run listener daemon

use Clivern\Chunk\Core\Listener;

$listener = new Listener($broker, $eventHandler, $mapper);
$listener->connect();
$listener->listen();
$listener->disconnect();

And start sending a message from a different process

use Clivern\Chunk\Core\Sender;
use Clivern\Chunk\Core\Message;

$sender = new Sender($broker, $eventHandler);

$sender->connect();

$message = new Message();
$message->setId(1)
        ->setUuid('f9714a92-2129-44e6-9ef4-8eebc2e33958') // or leave & chunk will generate a uuid
        ->setPayload('something')
        ->setHandlerType('serviceA.processOrder'); // same as the one defined in ProcessOrderMessageHandler class -> getType method

$sender->send($message);
$sender->disconnect();

For a complete working examples, please check this folder.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, Chunk is maintained under the Semantic Versioning guidelines and release process is predictable and business-friendly.

See the Releases section of our GitHub project for changelogs for each release version of Chunk. It contains summaries of the most noteworthy changes made in each release.

Bug tracker

If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/clivern/chunk/issues

Security Issues

If you discover a security vulnerability within Chunk, please send an email to [email protected]

Contributing

We are an open source, community-driven project so please feel free to join us. see the contributing guidelines for more details.

License

Β© 2020, clivern. Released under MIT License.

Chunk is authored and maintained by @clivern.

Comments
  • Update dependency php-amqplib/php-amqplib to v3

    Update dependency php-amqplib/php-amqplib to v3

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | php-amqplib/php-amqplib | require | major | ^2.11 -> ^3.0 |


    Release Notes

    php-amqplib/php-amqplib

    v3.0.0

    Compare Source

    This version introduces PHP8 compatibility.

    GitHub Milestone

    v2.12.3

    Compare Source

    • Fix autoloader issues when authorative class maps are enabled

    v2.12.2

    Compare Source

    GitHub Milestone

    v2.12.1

    Compare Source

    GitHub Milestone


    Configuration

    πŸ“… Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

    πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update dependency friendsofphp/php-cs-fixer to v2.16.4

    Update dependency friendsofphp/php-cs-fixer to v2.16.4

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | friendsofphp/php-cs-fixer | require-dev | patch | 2.16.3 -> 2.16.4 |


    Release Notes

    FriendsOfPHP/PHP-CS-Fixer

    v2.16.4

    Compare Source

    • bug #​3893 Fix handling /*_ and _/ on the same line as the first and/or last annotation (dmvdbrugge)
    • bug #​4919 PhpUnitTestAnnotationFixer - fix function starting with "test" and having lowercase letter after (kubawerlos)
    • bug #​4929 YodaStyleFixer - handling equals empty array (kubawerlos)
    • bug #​4934 YodaStyleFixer - fix for conditions weird are (kubawerlos)
    • bug #​4958 OrderedImportsFixer - fix for trailing comma in group (kubawerlos)
    • bug #​4959 BlankLineBeforeStatementFixer - handle comment case (SpacePossum)
    • bug #​4962 MethodArgumentSpaceFixer - must run after MethodChainingIndentationFixer (kubawerlos)
    • bug #​4963 PhpdocToReturnTypeFixer - fix for breaking PHP syntax for type having reserved name (kubawerlos, Slamdunk)
    • bug #​4978 ArrayIndentationFixer - must run after MethodArgumentSpaceFixer (kubawerlos)
    • bug #​4994 FinalInternalClassFixer - must run before ProtectedToPrivateFixer (kubawerlos)
    • bug #​4996 NoEmptyCommentFixer - handle multiline comments (kubawerlos)
    • bug #​4999 BlankLineBeforeStatementFixer - better comment handling (SpacePossum)
    • bug #​5009 NoEmptyCommentFixer - better handle comments sequence (kubawerlos)
    • bug #​5010 SimplifiedNullReturnFixer - must run before VoidReturnFixer (kubawerlos)
    • bug #​5011 SingleClassElementPerStatementFixer - must run before ClassAttributesSeparationFixer (kubawerlos)
    • bug #​5012 StrictParamFixer - must run before NativeFunctionInvocationFixer (kubawerlos)
    • bug #​5014 PhpdocToParamTypeFixer - fix for void as param (kubawerlos)
    • bug #​5018 PhpdocScalarFixer - fix for comment with Windows line endings (kubawerlos)
    • bug #​5029 SingleLineAfterImportsFixer - fix for line after import already added using CRLF (kubawerlos)
    • minor #​4904 Increase PHPStan level to 8 with strict rules (julienfalque)
    • minor #​4920 Enhancement: Use DocBlock itself to make it multi-line (localheinz)
    • minor #​4930 DX: ensure PhpUnitNamespacedFixer handles all classes (kubawerlos)
    • minor #​4931 DX: add test to ensure each target version in PhpUnitTargetVersion has its set in RuleSet (kubawerlos)
    • minor #​4932 DX: Travis CI config - fix warnings and infos (kubawerlos)
    • minor #​4940 Reject empty path (julienfalque)
    • minor #​4944 Fix grammar (julienfalque)
    • minor #​4946 Allow "const" option on PHP <7.1 (julienfalque)
    • minor #​4948 Added describe command to readme (david, 8ctopus)
    • minor #​4949 Fixed build readme on Windows fails if using Git Bash (Mintty) (8ctopus)
    • minor #​4954 Config - Trim path (julienfalque)
    • minor #​4957 DX: Check trailing spaces in project files only (ktomk)
    • minor #​4961 Assert all project source files are monolithic. (SpacePossum)
    • minor #​4964 Fix PHPStan baseline (julienfalque)
    • minor #​4965 Fix PHPStan baseline (julienfalque)
    • minor #​4973 DX: test "isRisky" method in fixer tests, not as auto review (kubawerlos)
    • minor #​4974 Minor: Fix typo (ktomk)
    • minor #​4975 Revert PHPStan level to 5 (julienfalque)
    • minor #​4976 Add instructions for PHPStan (julienfalque)
    • minor #​4980 Introduce new issue templates (julienfalque)
    • minor #​4981 Prevent error in CTTest::testConstants (for PHP8) (guilliamxavier)
    • minor #​4982 Remove PHIVE (kubawerlos)
    • minor #​4985 Fix tests with Symfony 5.1 (julienfalque)
    • minor #​4987 PhpdocAnnotationWithoutDotFixer - handle unicode characters using mb_* (SpacePossum)
    • minor #​5008 Enhancement: Social justification applied (gbyrka-fingo)
    • minor #​5023 Fix issue templates (kubawerlos)
    • minor #​5024 DX: add missing non-default code samples (kubawerlos)

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update dependency phpunit/phpunit to v9

    Update dependency phpunit/phpunit to v9

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | phpunit/phpunit (source) | require-dev | major | 5.7.27 -> 9.2.4 |


    Release Notes

    sebastianbergmann/phpunit

    v9.2.4

    Compare Source

    v9.2.3

    Compare Source

    v9.2.2

    Compare Source

    v9.2.1

    Compare Source

    v9.2.0

    Compare Source

    v9.1.5

    Compare Source

    v9.1.4

    Compare Source

    v9.1.3

    Compare Source

    v9.1.2

    Compare Source

    v9.1.1

    Compare Source

    v9.1.0

    Compare Source

    v9.0.2

    Compare Source

    v9.0.1

    Compare Source

    v9.0.0

    Compare Source

    v8.5.7

    Compare Source

    v8.5.6

    Compare Source

    v8.5.5

    Compare Source

    v8.5.4

    Compare Source

    v8.5.3

    Compare Source

    v8.5.2

    Compare Source

    v8.5.1

    Compare Source

    v8.5.0

    Compare Source

    v8.4.3

    Compare Source

    v8.4.2

    Compare Source

    v8.4.1

    Compare Source

    v8.4.0

    Compare Source

    v8.3.5

    Compare Source

    v8.3.4

    Compare Source

    v8.3.3

    Compare Source

    v8.3.2

    Compare Source

    v8.3.1

    Compare Source

    v8.3.0

    Compare Source

    v8.2.5

    Compare Source

    v8.2.4

    Compare Source

    v8.2.3

    Compare Source

    v8.2.2

    Compare Source

    v8.2.1

    Compare Source

    v8.2.0

    Compare Source

    v8.1.6

    Compare Source

    v8.1.5

    Compare Source

    v8.1.4

    Compare Source

    v8.1.3

    Compare Source

    v8.1.2

    Compare Source

    v8.1.1

    Compare Source

    v8.1.0

    Compare Source

    v8.0.6

    Compare Source

    v8.0.5

    Compare Source

    v8.0.4

    Compare Source

    v8.0.3

    Compare Source

    v8.0.2

    Compare Source

    v8.0.1

    Compare Source

    v8.0.0

    Compare Source

    v7.5.20

    Compare Source

    v7.5.19

    Compare Source

    v7.5.18

    Compare Source

    v7.5.17

    Compare Source

    v7.5.16

    Compare Source

    v7.5.15

    Compare Source

    v7.5.14

    Compare Source

    v7.5.13

    Compare Source

    v7.5.12

    Compare Source

    v7.5.11

    Compare Source

    v7.5.10

    Compare Source

    v7.5.9

    Compare Source

    v7.5.8

    Compare Source

    v7.5.7

    Compare Source

    v7.5.6

    Compare Source

    v7.5.5

    Compare Source

    v7.5.4

    Compare Source

    v7.5.3

    Compare Source

    v7.5.2

    Compare Source

    v7.5.1

    Compare Source

    v7.5.0

    Compare Source

    v7.4.5

    Compare Source

    v7.4.4

    Compare Source

    v7.4.3

    Compare Source

    v7.4.2

    Compare Source

    v7.4.1

    Compare Source

    v7.4.0

    Compare Source

    v7.3.5

    Compare Source

    v7.3.4

    Compare Source

    v7.3.3

    Compare Source

    v7.3.2

    Compare Source

    v7.3.1

    Compare Source

    v7.3.0

    Compare Source

    v7.2.7

    Compare Source

    v7.2.6

    Compare Source

    v7.2.5

    Compare Source

    v7.2.4

    Compare Source

    v7.2.3

    Compare Source

    v7.2.2

    Compare Source

    v7.2.1

    Compare Source

    v7.2.0

    Compare Source

    v7.1.5

    Compare Source

    v7.1.4

    Compare Source

    v7.1.3

    Compare Source

    v7.1.2

    Compare Source

    v7.1.1

    Compare Source

    v7.1.0

    Compare Source

    v7.0.3

    Compare Source

    v7.0.2

    Compare Source

    v7.0.1

    Compare Source

    v7.0.0

    Compare Source

    v6.5.14

    Compare Source

    v6.5.13

    Compare Source

    v6.5.12

    Compare Source

    v6.5.11

    Compare Source

    v6.5.10

    Compare Source

    v6.5.9

    Compare Source

    v6.5.8

    Compare Source

    v6.5.7

    Compare Source

    v6.5.6

    Compare Source

    v6.5.5

    Compare Source

    v6.5.4

    Compare Source

    v6.5.3

    Compare Source

    v6.5.2

    Compare Source

    v6.5.1

    Compare Source

    v6.5.0

    Compare Source

    v6.4.4

    Compare Source

    v6.4.3

    Compare Source

    v6.4.2

    Compare Source

    v6.4.1

    Compare Source

    v6.4.0

    Compare Source

    v6.3.1

    Compare Source

    v6.3.0

    Compare Source

    v6.2.4

    Compare Source

    v6.2.3

    Compare Source

    v6.2.2

    Compare Source

    v6.2.1

    Compare Source

    v6.2.0

    Compare Source

    v6.1.4

    Compare Source

    v6.1.3

    Compare Source

    v6.1.2

    Compare Source

    v6.1.1

    Compare Source

    v6.1.0

    Compare Source

    v6.0.13

    Compare Source

    v6.0.12

    Compare Source

    v6.0.11

    Compare Source

    v6.0.10

    Compare Source

    v6.0.9

    Compare Source

    v6.0.8

    Compare Source

    v6.0.7

    Compare Source

    v6.0.6

    Compare Source

    v6.0.5

    Compare Source

    v6.0.4

    Compare Source

    v6.0.3

    Compare Source

    v6.0.2

    Compare Source

    v6.0.1

    Compare Source

    v6.0.0

    Compare Source


    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update dependency friendsofphp/php-cs-fixer to v3

    Update dependency friendsofphp/php-cs-fixer to v3

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | friendsofphp/php-cs-fixer | require-dev | major | 2.16.7 -> 3.0.0 |


    Release Notes

    FriendsOfPHP/PHP-CS-Fixer

    v3.0.0

    Compare Source

    • bug #​5164 Differ - surround file name with double quotes if it contains spacing. (SpacePossum)
    • bug #​5560 PSR2: require visibility only for properties and methods (kubawerlos)
    • bug #​5576 ClassAttributesSeparationFixer: do not allow using v2 config (kubawerlos)
    • feature #​4979 Pass file to differ (paulhenri-l, SpacePossum)
    • minor #​3374 show-progress option: drop run-in and estimating, rename estimating-max to dots (keradus)
    • minor #​3375 Fixers - stop exposing extra properties/consts (keradus)
    • minor #​3376 Tokenizer - remove deprecations and legacy mode (keradus)
    • minor #​3377 rules - change default options (keradus)
    • minor #​3378 SKIP_LINT_TEST_CASES - drop env (keradus)
    • minor #​3379 MethodArgumentSpaceFixer - fixSpace is now private (keradus)
    • minor #​3380 rules - drop rootless configurations (keradus)
    • minor #​3381 rules - drop deprecated configurations (keradus)
    • minor #​3382 DefinedFixerInterface - incorporate into FixerInterface (keradus)
    • minor #​3383 FixerDefinitionInterface - drop getConfigurationDescription and getDefaultConfiguration (keradus)
    • minor #​3384 diff-format option: drop sbd diff, use udiffer by default, drop SebastianBergmannDiffer and SebastianBergmannShortDiffer classes (keradus)
    • minor #​3385 ConfigurableFixerInterface::configure - param is now not nullable and not optional (keradus)
    • minor #​3386 ConfigurationDefinitionFixerInterface - incorporate into ConfigurableFixerInterface (keradus)
    • minor #​3387 FixCommand - forbid passing 'config' and 'rules' options together (keradus)
    • minor #​3388 Remove Helpers (keradus)
    • minor #​3389 AccessibleObject - drop class (keradus)
    • minor #​3390 Drop deprecated rules: blank_line_before_return, hash_to_slash_comment, method_separation, no_extra_consecutive_blank_lines, no_multiline_whitespace_before_semicolons and pre_increment (keradus)
    • minor #​3456 AutoReview - drop references to removed rule (keradus)
    • minor #​3659 use php-cs-fixer/diff ^2.0 (SpacePossum)
    • minor #​3681 CiIntegrationTest - fix incompatibility from 2.x line (keradus)
    • minor #​3740 NoUnusedImportsFixer - remove SF exception (SpacePossum)
    • minor #​3771 UX: always set error_reporting in entry file, not Application (keradus)
    • minor #​3922 Make some more classes final (ntzm, SpacePossum)
    • minor #​3995 Change default config of native_function_invocation (dunglas, SpacePossum)
    • minor #​4432 DX: remove empty sets from RuleSet (kubawerlos)
    • minor #​4489 Fix ruleset @​PHPUnit50Migration:risky (kubawerlos)
    • minor #​4620 DX: cleanup additional, not used parameters (keradus)
    • minor #​4666 Remove deprecated rules: lowercase_constants, php_unit_ordered_covers, silenced_deprecation_error (keradus)
    • minor #​4697 Remove deprecated no_short_echo_tag rule (julienfalque)
    • minor #​4851 fix phpstan on 3.0 (SpacePossum)
    • minor #​4901 Fix SCA (SpacePossum)
    • minor #​5069 Fixed failing tests on 3.0 due to unused import after merge (GrahamCampbell)
    • minor #​5096 NativeFunctionInvocationFixer - BacktickToShellExecFixer - fix integration test (SpacePossum)
    • minor #​5171 Fix test (SpacePossum)
    • minor #​5245 Fix CI for 3.0 line (keradus)
    • minor #​5351 clean ups (SpacePossum)
    • minor #​5364 DX: Do not display runtime twice on 3.0 line (keradus)
    • minor #​5412 3.0 - cleanup (SpacePossum, keradus)
    • minor #​5417 Further BC cleanup for 3.0 (keradus)
    • minor #​5418 Drop src/Test namespace (keradus)
    • minor #​5436 Drop mapping of strings to boolean option other than yes/no (keradus)
    • minor #​5440 Change default ruleset to PSR-12 (keradus)
    • minor #​5477 Drop diff-format (keradus)
    • minor #​5478 Docs: Cleanup UPGRADE markdown files (keradus)
    • minor #​5479 ArraySyntaxFixer, ListSyntaxFixer - change default syntax to short (keradus)
    • minor #​5480 Tokens::findBlockEnd - drop deprecated argument (keradus)
    • minor #​5485 ClassAttributesSeparationFixer - drop deprecated flat list configuration (keradus)
    • minor #​5486 CI: drop unused env variables (keradus)
    • minor #​5488 Do not distribute documentation (szepeviktor)
    • minor #​5513 DX: Tokens::warnPhp8SplFixerArrayChange - drop unused method (keradus)
    • minor #​5520 DX: Drop IsIdenticalConstraint (keradus)
    • minor #​5521 DX: apply rules configuration cleanups for PHP 7.1+ (keradus)
    • minor #​5524 DX: drop support of very old deps (keradus)
    • minor #​5525 Drop phpunit-legacy-adapter (keradus)
    • minor #​5527 Bump required PHP to 7.1 (keradus)
    • minor #​5529 DX: bump required PHPUnit to v7+ (keradus)
    • minor #​5532 Apply PHP 7.1 typing (keradus)
    • minor #​5541 RuleSet - disallow null usage to disable the rule (keradus)
    • minor #​5555 DX: further typing improvements (keradus)
    • minor #​5562 Fix table row rendering for default values of array_syntax and list_syntax (derrabus)
    • minor #​5608 DX: new cache filename (keradus)
    • minor #​5609 Forbid old config filename usage (keradus)
    • minor #​5638 DX: remove Utils::calculateBitmask (keradus)
    • minor #​5641 DX: use constants for PHPUnit version on 3.0 line (keradus)
    • minor #​5643 FixCommand - simplify help (keradus)
    • minor #​5644 Token::toJson() - remove parameter (keradus)
    • minor #​5645 DX: YodaStyleFixerTest - fix CI (keradus)
    • minor #​5649 DX: YodaStyleFixerTest - fix 8.0 compat (keradus)
    • minor #​5650 DX: FixCommand - drop outdated/duplicated docs (keradus)
    • minor #​5656 DX: mark some constants as internal or private (keradus)
    • minor #​5657 DX: convert some properties to constants (keradus)
    • minor #​5669 Remove TrailingCommaInMultilineArrayFixer (kubawerlos, keradus)

    v2.19.0

    Compare Source

    • feature #​4238 TrailingCommaInMultilineFixer - introduction (kubawerlos)
    • feature #​4592 PhpdocToPropertyTypeFixer - introduction (julienfalque)
    • feature #​5390 feature #​4024 added a list-files command (clxmstaab, keradus)
    • feature #​5635 Add list-sets command (keradus)
    • feature #​5674 UX: Display deprecations to end-user (keradus)
    • minor #​5601 Always stop when "PHP_CS_FIXER_FUTURE_MODE" is used (kubawerlos)
    • minor #​5607 DX: new config filename (keradus)
    • minor #​5613 DX: UtilsTest - add missing teardown (keradus)
    • minor #​5631 DX: config deduplication (keradus)
    • minor #​5633 fix typos (staabm)
    • minor #​5642 Deprecate parameter of Token::toJson() (keradus)
    • minor #​5672 DX: do not test deprecated fixer (kubawerlos)

    v2.18.7

    Compare Source

    • bug #​5593 SingleLineThrowFixer - fix handling anonymous classes (kubawerlos)
    • bug #​5654 SingleLineThrowFixer - fix for match expression (kubawerlos)
    • bug #​5660 TypeAlternationTransformer - fix for "array" type in type alternation (kubawerlos)
    • bug #​5665 NullableTypeDeclarationForDefaultNullValueFixer - fix for nullable with attribute (kubawerlos)
    • bug #​5670 PhpUnitNamespacedFixer - do not try to fix constant (kubawerlos)
    • bug #​5671 PhpdocToParamTypeFixer - do not change function call (kubawerlos)
    • bug #​5673 GroupImportFixer - Fix failing case (julienfalque)
    • minor #​4591 Refactor conversion of PHPDoc to type declarations (julienfalque, keradus)
    • minor #​5611 DX: use method expectDeprecation from Symfony Bridge instead of annotation (kubawerlos)
    • minor #​5658 DX: use constants in tests for Fixer configuration (keradus)
    • minor #​5661 DX: remove PHPStan exceptions for "tests" from phpstan.neon (kubawerlos)
    • minor #​5662 Change wording from "merge" to "intersect" (jschaedl)
    • minor #​5663 DX: do not abuse "inheritdoc" tag (kubawerlos)
    • minor #​5664 DX: code grooming (keradus)

    v2.18.6

    Compare Source

    • bug #​5586 Add support for nullsafe object operator ("?->") (kubawerlos)
    • bug #​5597 Tokens - fix for checking block edges (kubawerlos)
    • bug #​5604 Custom annotations @​type changed into @​var (Leprechaunz)
    • bug #​5606 DoctrineAnnotationBracesFixer false positive (Leprechaunz)
    • bug #​5610 BracesFixer - fix braces of match expression (Leprechaunz)
    • bug #​5615 GroupImportFixer severely broken (Leprechaunz)
    • bug #​5617 ClassAttributesSeparationFixer - fix for using visibility for class elements (kubawerlos)
    • bug #​5618 GroupImportFixer - fix removal of import type when mixing multiple types (Leprechaunz)
    • bug #​5622 Exclude Doctrine documents from final fixer (ossinkine)
    • bug #​5630 PhpdocTypesOrderFixer - handle complex keys (Leprechaunz)
    • minor #​5554 DX: use tmp file in sys_temp_dir for integration tests (keradus)
    • minor #​5564 DX: make integration tests matching entries in FixerFactoryTest (kubawerlos)
    • minor #​5603 DX: DocumentationGenerator - no need to re-configure Differ (keradus)
    • minor #​5612 DX: use ::class whenever possible (kubawerlos)
    • minor #​5619 DX: allow XDebugHandler v2 (keradus)
    • minor #​5623 DX: when displaying app version, don't put extra space if there is no CODENAME available (keradus)
    • minor #​5626 DX: update PHPStan and way of ignoring flickering PHPStan exception (keradus)
    • minor #​5629 DX: fix CiIntegrationTest (keradus)
    • minor #​5636 DX: remove 'create' method in internal classes (keradus)
    • minor #​5637 DX: do not calculate bitmap via helper anymore (keradus)
    • minor #​5639 Move fix reports (classes and schemas) (keradus)
    • minor #​5640 DX: use constants for PHPUnit version (keradus)
    • minor #​5646 Cleanup YodaStyleFixerTest (kubawerlos)

    v2.18.5

    Compare Source

    • bug #​5561 NoMixedEchoPrintFixer: fix for conditions without curly brackets (kubawerlos)
    • bug #​5563 Priority fix: SingleSpaceAfterConstructFixer must run before BracesFixer (kubawerlos)
    • bug #​5567 Fix order of BracesFixer and ClassDefinitionFixer (Daeroni)
    • bug #​5596 NullableTypeTransformer - fix for attributes (kubawerlos, jrmajor)
    • bug #​5598 GroupImportFixer - fix breaking code when fixing root classes (Leprechaunz)
    • minor #​5571 DX: add test to make sure SingleSpaceAfterConstructFixer runs before FunctionDeclarationFixer (kubawerlos)
    • minor #​5577 Extend priority test for "class_definition" vs "braces" (kubawerlos)
    • minor #​5585 DX: make doc examples prettier (kubawerlos)
    • minor #​5590 Docs: HeaderCommentFixer - document example how to remove header comment (keradus)
    • minor #​5602 DX: regenerate docs (keradus)

    v2.18.4

    Compare Source

    • bug #​4085 Priority: AlignMultilineComment should run before every PhpdocFixer (dmvdbrugge)
    • bug #​5421 PsrAutoloadingFixer - Fix PSR autoloading outside configured directory (kelunik, keradus)
    • bug #​5464 NativeFunctionInvocationFixer - PHP 8 attributes (HypeMC, keradus)
    • bug #​5548 NullableTypeDeclarationForDefaultNullValueFixer - fix handling promoted properties (jrmajor, keradus)
    • bug #​5550 TypeAlternationTransformer - fix for typed static properties (kubawerlos)
    • bug #​5551 ClassAttributesSeparationFixer - fix for properties with type alternation (kubawerlos, keradus)
    • bug #​5552 DX: test relation between function_declaration and method_argument_space (keradus)
    • minor #​5540 DX: RuleSet - convert null handling to soft-warning (keradus)
    • minor #​5545 DX: update checkbashisms (keradus)

    v2.18.3

    Compare Source

    • bug #​5484 NullableTypeDeclarationForDefaultNullValueFixer - handle mixed pseudotype (keradus)
    • minor #​5470 Disable CI fail-fast (mvorisek)
    • minor #​5491 Support php8 static return type for NoSuperfluousPhpdocTagsFixer (tigitz)
    • minor #​5494 BinaryOperatorSpacesFixer - extend examples (keradus)
    • minor #​5499 DX: add TODOs for PHP requirements cleanup (keradus)
    • minor #​5500 DX: Test that Transformers are adding only CustomTokens that they define and nothing else (keradus)
    • minor #​5507 Fix quoting in exception message (gquemener)
    • minor #​5514 DX: PHP 7.0 integration test - solve TODO for random_api_migration usage (keradus)
    • minor #​5515 DX: do not override getConfigurationDefinition (keradus)
    • minor #​5516 DX: AbstractDoctrineAnnotationFixer - no need for import aliases (keradus)
    • minor #​5518 DX: minor typing and validation fixes (keradus)
    • minor #​5522 Token - add handling json_encode crash (keradus)
    • minor #​5523 DX: EregToPregFixer - fix sorting (keradus)
    • minor #​5528 DX: code cleanup (keradus)

    v2.18.2

    Compare Source

    • bug #​5466 Fix runtime check of PHP version (keradus)
    • minor #​4250 POC Tokens::insertSlices (keradus)

    v2.18.1

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5444 Fix PHP version number in PHP54MigrationSet description (jdreesen, keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5458 CI: fix migration workflow (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.18.0

    Compare Source

    • feature #​4943 Add PSR12 ruleset (julienfalque, keradus)
    • feature #​5426 Update Symfony ruleset (keradus)
    • feature #​5428 Add/Change PHP.MigrationSet to update array/list syntax to short one (keradus)
    • minor #​5441 Allow execution under PHP 8 (keradus)

    v2.17.5

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.17.4

    Compare Source

    • bug #​5379 PhpUnitMethodCasingFixer - Do not modify class name (localheinz)
    • bug #​5404 NullableTypeTransformer - constructor property promotion support (Wirone)
    • bug #​5433 PhpUnitTestCaseStaticMethodCallsFixer - fix for abstract static method (kubawerlos)
    • minor #​5234 DX: Add Docker dev setup (julienfalque, keradus)
    • minor #​5391 PhpdocOrderByValueFixer - Add additional annotations to sort (localheinz)
    • minor #​5392 PhpdocScalarFixer - Fix description (localheinz)
    • minor #​5397 NoExtraBlankLinesFixer - PHP8 throw support (SpacePossum)
    • minor #​5399 Add PHP8 integration test (keradus)
    • minor #​5405 TypeAlternationTransformer - add support for PHP8 (SpacePossum)
    • minor #​5406 SingleSpaceAfterConstructFixer - Attributes, comments and PHPDoc support (SpacePossum)
    • minor #​5407 TokensAnalyzer::getClassyElements - return trait imports (SpacePossum)
    • minor #​5410 minors (SpacePossum)
    • minor #​5411 bump year in LICENSE file (SpacePossum)
    • minor #​5414 TypeAlternationTransformer - T_FN support (SpacePossum)
    • minor #​5415 Forbid execution under PHP 8.0.0 (keradus)
    • minor #​5416 Drop Travis CI (keradus)
    • minor #​5419 CI: separate SCA checks to dedicated jobs (keradus)
    • minor #​5420 DX: unblock PHPUnit 9.5 (keradus)
    • minor #​5423 DX: PHPUnit - disable verbose by default (keradus)
    • minor #​5425 Cleanup 3.0 todos (keradus)
    • minor #​5427 Plan changing defaults for array_syntax and list_syntax in 3.0 release (keradus)
    • minor #​5429 DX: Drop speedtrap PHPUnit listener (keradus)
    • minor #​5432 Don't allow unserializing classes with a destructor (jderusse)
    • minor #​5435 DX: PHPUnit - groom configuration of time limits (keradus)
    • minor #​5439 VisibilityRequiredFixer - support type alternation for properties (keradus)
    • minor #​5442 DX: FunctionsAnalyzerTest - add missing 7.0 requirement (keradus)

    v2.17.3

    Compare Source

    • bug #​5384 PsrAutoloadingFixer - do not remove directory structure from the Class name (kubawerlos, keradus)
    • bug #​5385 SingleLineCommentStyleFixer- run before NoUselessReturnFixer (kubawerlos)
    • bug #​5387 SingleSpaceAfterConstructFixer - do not touch multi line implements (SpacePossum)
    • minor #​5329 DX: collect coverage with Github Actions (kubawerlos)
    • minor #​5380 PhpdocOrderByValueFixer - Allow sorting of throws annotations by value (localheinz, keradus)
    • minor #​5383 DX: fail PHPUnit tests on warning (kubawerlos)
    • minor #​5386 DX: remove incorrect priority relations (kubawerlos)

    v2.17.2

    Compare Source

    • bug #​5345 CleanNamespaceFixer - preserve traling comments (SpacePossum)
    • bug #​5348 PsrAutoloadingFixer - fix for class without namespace (kubawerlos)
    • bug #​5362 SingleSpaceAfterConstructFixer: Do not adjust whitespace before multiple multi-line extends (localheinz, SpacePossum)
    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5319 Clean ups (SpacePossum)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5353 Fix typo in issue template (stof)
    • minor #​5355 OrderedTraitsFixer - mark as risky (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5359 Add application version to "fix" out put when verbosity flag is set (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5363 Added missing self return type to ConfigInterface::registerCustomFixers() (vudaltsov)
    • minor #​5366 PhpUnitDedicateAssertInternalTypeFixer - recover target option (keradus)
    • minor #​5368 DX: PHPUnit 9 compatibility for 2.17 (keradus)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5371 Update documentation about PHP_CS_FIXER_IGNORE_ENV (SanderSander, keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.17.1

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5332 Fix file missing for php8 (jderusse)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    v2.17.0

    Compare Source

    • bug #​4752 SimpleLambdaCallFixer - bug fixes (SpacePossum)
    • bug #​4794 TernaryToElvisOperatorFixer - fix open tag with echo (SpacePossum)
    • bug #​5084 Fix for variables within string interpolation in lambda_not_used_import (GrahamCampbell)
    • bug #​5094 SwitchContinueToBreakFixer - do not support alternative syntax (SpacePossum)
    • feature #​2619 PSR-5 @​inheritDoc support (julienfalque)
    • feature #​3253 Add SimplifiedIfReturnFixer (Slamdunk, SpacePossum)
    • feature #​4005 GroupImportFixer - introduction (greeflas)
    • feature #​4012 BracesFixer - add "allow_single_line_anonymous_class_with_empty_body" option (kubawerlos)
    • feature #​4021 OperatorLinebreakFixer - Introduction (kubawerlos, SpacePossum)
    • feature #​4259 PsrAutoloadingFixer - introduction (kubawerlos)
    • feature #​4375 extend ruleset "@​PHP73Migration" (gharlan)
    • feature #​4435 SingleSpaceAfterConstructFixer - Introduction (localheinz)
    • feature #​4493 Add echo_tag_syntax rule (mlocati, kubawerlos)
    • feature #​4544 SimpleLambdaCallFixer - introduction (keradus)
    • feature #​4569 PhpdocOrderByValueFixer - Introduction (localheinz)
    • feature #​4590 SwitchContinueToBreakFixer - Introduction (SpacePossum)
    • feature #​4679 NativeConstantInvocationFixer - add "strict" flag (kubawerlos)
    • feature #​4701 OrderedTraitsFixer - introduction (julienfalque)
    • feature #​4704 LambdaNotUsedImportFixer - introduction (SpacePossum)
    • feature #​4740 NoAliasLanguageConstructCallFixer - introduction (SpacePossum)
    • feature #​4741 TernaryToElvisOperatorFixer - introduction (SpacePossum)
    • feature #​4778 UseArrowFunctionsFixer - introduction (gharlan)
    • feature #​4790 ArrayPushFixer - introduction (SpacePossum)
    • feature #​4800 NoUnneededFinalMethodFixer - Add "private_methods" option (SpacePossum)
    • feature #​4831 BlankLineBeforeStatementFixer - add yield from (SpacePossum)
    • feature #​4832 NoUnneededControlParenthesesFixer - add yield from (SpacePossum)
    • feature #​4863 NoTrailingWhitespaceInStringFixer - introduction (gharlan)
    • feature #​4875 ClassAttributesSeparationFixer - add option for no new lines between properties (adri, ruudk)
    • feature #​4880 HeredocIndentationFixer - config option for indentation level (gharlan)
    • feature #​4908 PhpUnitExpectationFixer - update for Phpunit 8.4 (ktomk)
    • feature #​4942 OrderedClassElementsFixer - added support for abstract method sorting (carlalexander, SpacePossum)
    • feature #​4947 NativeConstantInvocation - Add "PHP_INT_SIZE" to SF rule set (kubawerlos)
    • feature #​4953 Add support for custom differ (paulhenri-l, SpacePossum)
    • feature #​5264 CleanNamespaceFixer - Introduction (SpacePossum)
    • feature #​5280 NoUselessSprintfFixer - Introduction (SpacePossum)
    • minor #​4634 Make all options snake_case (kubawerlos)
    • minor #​4667 PhpUnitOrderedCoversFixer - stop using deprecated fixer (keradus)
    • minor #​4673 FinalStaticAccessFixer - deprecate (julienfalque)
    • minor #​4762 Rename simple_lambda_call to regular_callable_call (julienfalque)
    • minor #​4782 Update RuleSets (SpacePossum)
    • minor #​4802 Master cleanup (SpacePossum)
    • minor #​4828 Deprecate Config::create() (DocFX)
    • minor #​4872 Update RuleSet SF and PHP-CS-Fixer with new config for `no_extra_blan… (SpacePossum)
    • minor #​4900 Move "no_trailing_whitespace_in_string" to SF ruleset. (SpacePossum)
    • minor #​4903 Docs: extend regular_callable_call rule docs (keradus, SpacePossum)
    • minor #​4910 Add use_arrow_functions rule to PHP74Migration:risky set (keradus)
    • minor #​5025 PhpUnitDedicateAssertInternalTypeFixer - deprecate "target" option (kubawerlos)
    • minor #​5037 FinalInternalClassFixer- Rename option (SpacePossum)
    • minor #​5093 LambdaNotUsedImportFixer - add heredoc test (SpacePossum)
    • minor #​5163 Fix CS (SpacePossum)
    • minor #​5169 PHP8 care package master (SpacePossum)
    • minor #​5186 Fix tests (SpacePossum)
    • minor #​5192 GotoLabelAnalyzer - introduction (SpacePossum)
    • minor #​5230 Fix: Reference (localheinz)
    • minor #​5240 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5244 Fix 2.17 build (keradus)
    • minor #​5251 PHP8 - match support (SpacePossum)
    • minor #​5252 Update RuleSets (SpacePossum)
    • minor #​5278 PHP8 constructor property promotion support (SpacePossum)
    • minor #​5284 PHP8 - Attribute support (SpacePossum)
    • minor #​5323 NoUselessSprintfFixer - Fix test on PHP5.6 (SpacePossum)
    • minor #​5326 DX: relax composer requirements to not block installation under PHP v8, support for PHP v8 is not yet ready (keradus)

    v2.16.10

    Compare Source

    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.16.9

    Compare Source

    • bug #​5095 Annotation - fix for Windows line endings (SpacePossum)
    • bug #​5221 NoSuperfluousPhpdocTagsFixer - fix for single line PHPDoc (kubawerlos)
    • bug #​5225 TernaryOperatorSpacesFixer - fix for alternative control structures (kubawerlos)
    • bug #​5235 ArrayIndentationFixer - fix for nested arrays (kubawerlos)
    • bug #​5248 NoBreakCommentFixer - fix throw detect (SpacePossum)
    • bug #​5250 SwitchAnalyzer - fix for semicolon after case/default (kubawerlos)
    • bug #​5253 IO - fix cache info message (SpacePossum)
    • bug #​5273 Fix PHPDoc line span fixer when property has array typehint (ossinkine)
    • bug #​5274 TernaryToNullCoalescingFixer - concat precedence fix (SpacePossum)
    • feature #​5216 Add RuleSets to docs (SpacePossum)
    • minor #​5226 Applied CS fixes from 2.17-dev (GrahamCampbell)
    • minor #​5229 Fixed incorrect phpdoc (GrahamCampbell)
    • minor #​5231 CS: unify styling with younger branches (keradus)
    • minor #​5232 PHP8 - throw expression support (SpacePossum)
    • minor #​5233 DX: simplify check_file_permissions.sh (kubawerlos)
    • minor #​5236 Improve handling of unavailable code samples (julienfalque, keradus)
    • minor #​5239 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5254 PHP8 - mixed type support (SpacePossum)
    • minor #​5255 Tests: do not skip documentation test (keradus)
    • minor #​5256 Docs: phpdoc_to_return_type - add new example in docs (keradus)
    • minor #​5261 Do not update Composer twice (sanmai)
    • minor #​5263 PHP8 support (SpacePossum)
    • minor #​5266 PhpUnitTestCaseStaticMethodCallsFixer - PHPUnit 9.x support (sanmai)
    • minor #​5267 Improve InstallViaComposerTest (sanmai)
    • minor #​5268 Add GitHub Workflows CI, including testing on PHP 8 and on macOS/Windows/Ubuntu (sanmai)
    • minor #​5269 Prep work to migrate to PHPUnit 9.x (sanmai, keradus)
    • minor #​5275 remove not supported verbose options (SpacePossum)
    • minor #​5276 PHP8 - add NoUnreachableDefaultArgumentValueFixer to risky set (SpacePossum)
    • minor #​5277 PHP8 - Constructor Property Promotion support (SpacePossum)
    • minor #​5292 Disable blank issue template and expose community chat (keradus)
    • minor #​5293 Add documentation to "yoda_style" sniff to convert Yoda style to non-Yoda style (Luc45)
    • minor #​5295 Run static code analysis off GitHub Actions (sanmai)
    • minor #​5298 Add yamllint workflow, validates .yaml files (sanmai)
    • minor #​5302 SingleLineCommentStyleFixer - do not fix possible attributes (PHP8) (SpacePossum)
    • minor #​5303 Drop CircleCI and AppVeyor (keradus)
    • minor #​5304 DX: rename TravisTest, as we no longer test only Travis there (keradus)
    • minor #​5305 Groom GitHub CI and move some checks from TravisCI to GitHub CI (keradus)
    • minor #​5308 Only run yamllint when a YAML file is changed (julienfalque, keradus)
    • minor #​5309 CICD: create yamllint config file (keradus)
    • minor #​5311 OrderedClassElementsFixer - PHPUnit Bridge support (ktomk)
    • minor #​5316 PHP8 - Attribute support (SpacePossum)
    • minor #​5321 DX: little code grooming (keradus)

    v2.16.8

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    Configuration

    πŸ“… Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency squizlabs/php_codesniffer to v3.6.0 - autoclosed

    Update dependency squizlabs/php_codesniffer to v3.6.0 - autoclosed

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | squizlabs/php_codesniffer | require-dev | minor | 3.5.8 -> 3.6.0 |


    Release Notes

    squizlabs/PHP_CodeSniffer

    v3.6.0

    Compare Source

    PHP 8 Language Feature Support

    PHP_CodeSniffer has run under PHP 8 for some time, but it has not supported all new language features until this release. Version 3.6.0 adds support for all new PHP 8 language features, including:

    • Attributes
    • Constructor property promotion
    • Named arguments
    • Union types
    • Match expressions
    • Static and Mixed return types

    Note: All standards and sniffs included with PHP_CodeSniffer have been updated to support these language features, but external standards and sniffs may need updating before they are able to detect them correctly.

    Changelog

    • Added support for PHP 8.0 union types
      • A new T_TYPE_UNION token is available to represent the pipe character
      • File::getMethodParameters(), getMethodProperties(), and getMemberProperties() will now return union types
      • Thanks to Juliette Reinders Folmer for the patch
    • Added support for PHP 8.0 named function call arguments
      • A new T_PARAM_NAME token is available to represent the label with the name of the function argument in it
      • Thanks to Juliette Reinders Folmer for the patch
    • Added support for PHP 8.0 attributes
      • The PHP-supplied T_ATTRIBUTE token marks the start of an attribute
      • A new T_ATTRIBUTE_END token is available to mark the end of an attribute
      • New attribute_owner and attribute_closer indexes are available in the tokens array for all tokens inside an attribute
      • Tokenizing of attributes has been backfilled for older PHP versions
      • The following sniffs have been updated to support attributes:
        • PEAR.Commenting.ClassComment
        • PEAR.Commenting.FileComment
        • PSR1.Files.SideEffects
        • PSR12.Files.FileHeader
        • Squiz.Commenting.ClassComment
        • Squiz.Commenting.FileComment
        • Squiz.WhiteSpace.FunctionSpacing
          • Thanks to Vadim Borodavko for the patch
      • Thanks to Alessandro Chitolina for the patch
    • Added support for PHP 8.0 dereferencing of text strings with interpolated variables
      • Thanks to Juliette Reinders Folmer for the patch
    • Added support for PHP 8.0 match expressions
      • Match expressions are now tokenised with parenthesis and scope openers and closers
        • Sniffs can listen for the T_MATCH token to process match expressions
        • Note that the case and default statements inside match expressions do not have scopes set
      • A new T_MATCH_ARROW token is available to represent the arrows in match expressions
      • A new T_MATCH_DEFAULT token is available to represent the default keyword in match expressions
      • All tokenizing of match expressions has been backfilled for older PHP versions
      • The following sniffs have been updated to support match expressions:
        • Generic.CodeAnalysis.AssignmentInCondition
        • Generic.CodeAnalysis.EmptyPHPStatement
          • Thanks to Vadim Borodavko for the patch
        • Generic.CodeAnalysis.EmptyStatement
        • Generic.PHP.LowerCaseKeyword
        • PEAR.ControlStructures.ControlSignature
        • PSR12.ControlStructures.BooleanOperatorPlacement
        • Squiz.Commenting.LongConditionClosingComment
        • Squiz.Commenting.PostStatementComment
        • Squiz.ControlStructures.LowercaseDeclaration
        • Squiz.ControlStructures.ControlSignature
        • Squiz.Formatting.OperatorBracket
        • Squiz.PHP.DisallowMultipleAssignments
        • Squiz.Objects.ObjectInstantiation
        • Squiz.WhiteSpace.ControlStructureSpacing
      • Thanks to Juliette Reinders Folmer for the patch
    • The value of the T_FN_ARROW token has changed from "T_FN_ARROW" to "PHPCS_T_FN_ARROW" to avoid package conflicts
      • This will have no impact on custom sniffs unless they are specifically looking at the value of the T_FN_ARROW constant
      • If sniffs are just using constant to find arrow functions, they will continue to work without modification
      • Thanks to Juliette Reinders Folmer for the patch
    • File::findStartOfStatement() now works correctly when passed the last token in a statement
    • File::getMethodParameters() now supports PHP 8.0 constructor property promotion
      • Returned method params now include a property_visibility and visibility_token index if property promotion is detected
      • Thanks to Juliette Reinders Folmer for the patch
    • File::getMethodProperties() now includes a return_type_end_token index in the return value
      • This indicates the last token in the return type, which is helpful when checking union types
      • Thanks to Juliette Reinders Folmer for the patch
    • Include patterns are now ignored when processing STDIN
      • Previously, checks using include patterns were excluded when processing STDIN when no file path was provided via --stdin-path
      • Now, all include and exclude rules are ignored when no file path is provided, allowing all checks to run
      • If you want include and exclude rules enforced when checking STDIN, use --stdin-path to set the file path
      • Thanks to Juliette Reinders Folmer for the patch
    • Spaces are now correctly escaped in the paths to external on Windows
      • Thanks to Juliette Reinders Folmer for the patch
    • Added Generic.NamingConventions.AbstractClassNamePrefix to enforce that class names are prefixed with "Abstract"
      • Thanks to Anna Borzenko for the contribution
    • Added Generic.NamingConventions.InterfaceNameSuffix to enforce that interface names are suffixed with "Interface"
      • Thanks to Anna Borzenko for the contribution
    • Added Generic.NamingConventions.TraitNameSuffix to enforce that trait names are suffixed with "Trait"
      • Thanks to Anna Borzenko for the contribution
    • Generic.CodeAnalysis.UnusedFunctionParameter can now be configured to ignore variable usage for specific type hints
      • This allows you to suppress warnings for some variables that are not required, but leave warnings for others
      • Set the ignoreTypeHints array property to a list of type hints to ignore
      • Thanks to Petr BugyΓ­k for the patch
    • Generic.Formatting.MultipleStatementAlignment can now align statements at the start of the assignment token
      • Previously, the sniff enforced that the values were aligned, even if this meant the assignment tokens were not
      • Now, the sniff can enforce that the assignment tokens are aligned, even if this means the values are not
      • Set the alignAtEnd sniff property to false to align the assignment tokens
      • The default remains at true, so the assigned values are aligned
      • Thanks to John P. Bloch for the patch
    • Generic.PHP.LowerCaseType now supports checking of typed properties
      • Thanks to Juliette Reinders Folmer for the patch
    • Generic.PHP.LowerCaseType now supports checking of union types
      • Thanks to Juliette Reinders Folmer for the patch
    • PEAR.Commenting.FunctionComment and Squiz.Commenting.FunctionComment sniffs can now ignore private and protected methods
      • Set the minimumVisibility sniff property to protected to ignore private methods
      • Set the minimumVisibility sniff property to public to ignore both private and protected methods
      • The default remains at private, so all methods are checked
      • Thanks to Vincent Langlet for the patch
    • PEAR.Commenting.FunctionComment and Squiz.Commenting.FunctionComment sniffs can now ignore return tags in any method
      • Previously, only __construct and __destruct were ignored
      • Set the list of method names to ignore in the specialMethods sniff property
      • The default remains at __construct and __destruct only
      • Thanks to Vincent Langlet for the patch
    • PSR2.ControlStructures.SwitchDeclaration now supports nested switch statements where every branch terminates
      • Previously, if a CASE only contained a SWITCH and no direct terminating statement, a fall-through error was displayed
      • Now, the error is suppressed if every branch of the SWITCH has a terminating statement
      • Thanks to Vincent Langlet for the patch
    • The PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket error message is now reported on the closing parenthesis token
      • Previously, the error was being reported on the function keyword, leading to confusing line numbers in the error report
    • Squiz.Commenting.FunctionComment is now able to ignore function comments that are only inheritdoc statements
      • Set the skipIfInheritdoc sniff property to true to skip checking function comments if the content is only {@&#8203;inhertidoc}
      • The default remains at false, so these comments will continue to report errors
      • Thanks to Jess Myrbo for the patch
    • Squiz.Commenting.FunctionComment now supports the PHP 8 mixed type
      • Thanks to Vadim Borodavko for the patch
    • Squiz.PHP.NonExecutableCode now has improved handling of syntax errors
      • Thanks to Thiemo Kreuz for the patch
    • Squiz.WhiteSpace.ScopeKeywordSpacing now checks spacing when using PHP 8.0 constructor property promotion
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed an issue that could occur when checking files on network drives, such as with WSL2 on Windows 10
      • This works around a long-standing PHP bug with is_readable()
      • Thanks to Michael S for the patch
    • Fixed a number of false positives in the Squiz.PHP.DisallowMultipleAssignments sniff
      • Sniff no longer errors for default value assignments in arrow functions
      • Sniff no longer errors for assignments on first line of closure
      • Sniff no longer errors for assignments after a goto label
      • Thanks to Jaroslav HanslΓ­k for the patch
    • Fixed bug #​2913 : Generic.WhiteSpace.ScopeIndent false positive when opening and closing tag on same line inside conditional
    • Fixed bug #​2992 : Enabling caching using a ruleset produces invalid cache files when using --sniffs and --exclude CLI args
    • Fixed bug #​3003 : Squiz.Formatting.OperatorBracket autofix incorrect when assignment used with null coalescing operator
    • Fixed bug #​3145 : Autoloading of sniff fails when multiple classes declared in same file
    • Fixed bug #​3157 : PSR2.ControlStructures.SwitchDeclaration.BreakIndent false positive when case keyword is not indented
    • Fixed bug #​3163 : Undefined index error with pre-commit hook using husky on PHP 7.4
      • Thanks to Ismo Vuorinen for the patch
    • Fixed bug #​3165 : Squiz.PHP.DisallowComparisonAssignment false positive when comparison inside closure
    • Fixed bug #​3167 : Generic.WhiteSpace.ScopeIndent false positive when using PHP 8.0 constructor property promotion
    • Fixed bug #​3170 : Squiz.WhiteSpace.OperatorSpacing false positive when using negation with string concat
      • This also fixes the same issue in the PSR12.Operators.OperatorSpacing sniff
    • Fixed bug #​3177 : Incorrect tokenization of GOTO statements in mixed PHP/HTML files
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3184 : PSR2.Namespace.NamespaceDeclaration false positive on namespace operator
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3188 : Squiz.WhiteSpace.ScopeKeywordSpacing false positive for static return type
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3192 : findStartOfStatement doesn't work correctly inside switch
      • Thanks to Vincent Langlet for the patch
    • Fixed bug #​3195 : Generic.WhiteSpace.ScopeIndent confusing message when combination of tabs and spaces found
    • Fixed bug #​3197 : Squiz.NamingConventions.ValidVariableName does not use correct error code for all member vars
    • Fixed bug #​3219 : Generic.Formatting.MultipleStatementAlignment false positive for empty anonymous classes and closures
    • Fixed bug #​3258 : Squiz.Formatting.OperatorBracket duplicate error messages for unary minus
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3273 : Squiz.Functions.FunctionDeclarationArgumentSpacing reports line break as 0 spaces between parenthesis
    • Fixed bug #​3277 : Nullable static return typehint causes whitespace error
    • Fixed bug #​3284 : Unused parameter false positive when using array index in arrow function

    Configuration

    πŸ“… Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency friendsofphp/php-cs-fixer to v2.19.0 - autoclosed

    Update dependency friendsofphp/php-cs-fixer to v2.19.0 - autoclosed

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | friendsofphp/php-cs-fixer | require-dev | minor | 2.16.7 -> 2.19.0 |


    Release Notes

    FriendsOfPHP/PHP-CS-Fixer

    v2.19.0

    Compare Source

    • feature #​4238 TrailingCommaInMultilineFixer - introduction (kubawerlos)
    • feature #​4592 PhpdocToPropertyTypeFixer - introduction (julienfalque)
    • feature #​5390 feature #​4024 added a list-files command (clxmstaab, keradus)
    • feature #​5635 Add list-sets command (keradus)
    • feature #​5674 UX: Display deprecations to end-user (keradus)
    • minor #​5601 Always stop when "PHP_CS_FIXER_FUTURE_MODE" is used (kubawerlos)
    • minor #​5607 DX: new config filename (keradus)
    • minor #​5613 DX: UtilsTest - add missing teardown (keradus)
    • minor #​5631 DX: config deduplication (keradus)
    • minor #​5633 fix typos (staabm)
    • minor #​5642 Deprecate parameter of Token::toJson() (keradus)
    • minor #​5672 DX: do not test deprecated fixer (kubawerlos)

    v2.18.7

    Compare Source

    • bug #​5593 SingleLineThrowFixer - fix handling anonymous classes (kubawerlos)
    • bug #​5654 SingleLineThrowFixer - fix for match expression (kubawerlos)
    • bug #​5660 TypeAlternationTransformer - fix for "array" type in type alternation (kubawerlos)
    • bug #​5665 NullableTypeDeclarationForDefaultNullValueFixer - fix for nullable with attribute (kubawerlos)
    • bug #​5670 PhpUnitNamespacedFixer - do not try to fix constant (kubawerlos)
    • bug #​5671 PhpdocToParamTypeFixer - do not change function call (kubawerlos)
    • bug #​5673 GroupImportFixer - Fix failing case (julienfalque)
    • minor #​4591 Refactor conversion of PHPDoc to type declarations (julienfalque, keradus)
    • minor #​5611 DX: use method expectDeprecation from Symfony Bridge instead of annotation (kubawerlos)
    • minor #​5658 DX: use constants in tests for Fixer configuration (keradus)
    • minor #​5661 DX: remove PHPStan exceptions for "tests" from phpstan.neon (kubawerlos)
    • minor #​5662 Change wording from "merge" to "intersect" (jschaedl)
    • minor #​5663 DX: do not abuse "inheritdoc" tag (kubawerlos)
    • minor #​5664 DX: code grooming (keradus)

    v2.18.6

    Compare Source

    • bug #​5586 Add support for nullsafe object operator ("?->") (kubawerlos)
    • bug #​5597 Tokens - fix for checking block edges (kubawerlos)
    • bug #​5604 Custom annotations @​type changed into @​var (Leprechaunz)
    • bug #​5606 DoctrineAnnotationBracesFixer false positive (Leprechaunz)
    • bug #​5610 BracesFixer - fix braces of match expression (Leprechaunz)
    • bug #​5615 GroupImportFixer severely broken (Leprechaunz)
    • bug #​5617 ClassAttributesSeparationFixer - fix for using visibility for class elements (kubawerlos)
    • bug #​5618 GroupImportFixer - fix removal of import type when mixing multiple types (Leprechaunz)
    • bug #​5622 Exclude Doctrine documents from final fixer (ossinkine)
    • bug #​5630 PhpdocTypesOrderFixer - handle complex keys (Leprechaunz)
    • minor #​5554 DX: use tmp file in sys_temp_dir for integration tests (keradus)
    • minor #​5564 DX: make integration tests matching entries in FixerFactoryTest (kubawerlos)
    • minor #​5603 DX: DocumentationGenerator - no need to re-configure Differ (keradus)
    • minor #​5612 DX: use ::class whenever possible (kubawerlos)
    • minor #​5619 DX: allow XDebugHandler v2 (keradus)
    • minor #​5623 DX: when displaying app version, don't put extra space if there is no CODENAME available (keradus)
    • minor #​5626 DX: update PHPStan and way of ignoring flickering PHPStan exception (keradus)
    • minor #​5629 DX: fix CiIntegrationTest (keradus)
    • minor #​5636 DX: remove 'create' method in internal classes (keradus)
    • minor #​5637 DX: do not calculate bitmap via helper anymore (keradus)
    • minor #​5639 Move fix reports (classes and schemas) (keradus)
    • minor #​5640 DX: use constants for PHPUnit version (keradus)
    • minor #​5646 Cleanup YodaStyleFixerTest (kubawerlos)

    v2.18.5

    Compare Source

    • bug #​5561 NoMixedEchoPrintFixer: fix for conditions without curly brackets (kubawerlos)
    • bug #​5563 Priority fix: SingleSpaceAfterConstructFixer must run before BracesFixer (kubawerlos)
    • bug #​5567 Fix order of BracesFixer and ClassDefinitionFixer (Daeroni)
    • bug #​5596 NullableTypeTransformer - fix for attributes (kubawerlos, jrmajor)
    • bug #​5598 GroupImportFixer - fix breaking code when fixing root classes (Leprechaunz)
    • minor #​5571 DX: add test to make sure SingleSpaceAfterConstructFixer runs before FunctionDeclarationFixer (kubawerlos)
    • minor #​5577 Extend priority test for "class_definition" vs "braces" (kubawerlos)
    • minor #​5585 DX: make doc examples prettier (kubawerlos)
    • minor #​5590 Docs: HeaderCommentFixer - document example how to remove header comment (keradus)
    • minor #​5602 DX: regenerate docs (keradus)

    v2.18.4

    Compare Source

    • bug #​4085 Priority: AlignMultilineComment should run before every PhpdocFixer (dmvdbrugge)
    • bug #​5421 PsrAutoloadingFixer - Fix PSR autoloading outside configured directory (kelunik, keradus)
    • bug #​5464 NativeFunctionInvocationFixer - PHP 8 attributes (HypeMC, keradus)
    • bug #​5548 NullableTypeDeclarationForDefaultNullValueFixer - fix handling promoted properties (jrmajor, keradus)
    • bug #​5550 TypeAlternationTransformer - fix for typed static properties (kubawerlos)
    • bug #​5551 ClassAttributesSeparationFixer - fix for properties with type alternation (kubawerlos, keradus)
    • bug #​5552 DX: test relation between function_declaration and method_argument_space (keradus)
    • minor #​5540 DX: RuleSet - convert null handling to soft-warning (keradus)
    • minor #​5545 DX: update checkbashisms (keradus)

    v2.18.3

    Compare Source

    • bug #​5484 NullableTypeDeclarationForDefaultNullValueFixer - handle mixed pseudotype (keradus)
    • minor #​5470 Disable CI fail-fast (mvorisek)
    • minor #​5491 Support php8 static return type for NoSuperfluousPhpdocTagsFixer (tigitz)
    • minor #​5494 BinaryOperatorSpacesFixer - extend examples (keradus)
    • minor #​5499 DX: add TODOs for PHP requirements cleanup (keradus)
    • minor #​5500 DX: Test that Transformers are adding only CustomTokens that they define and nothing else (keradus)
    • minor #​5507 Fix quoting in exception message (gquemener)
    • minor #​5514 DX: PHP 7.0 integration test - solve TODO for random_api_migration usage (keradus)
    • minor #​5515 DX: do not override getConfigurationDefinition (keradus)
    • minor #​5516 DX: AbstractDoctrineAnnotationFixer - no need for import aliases (keradus)
    • minor #​5518 DX: minor typing and validation fixes (keradus)
    • minor #​5522 Token - add handling json_encode crash (keradus)
    • minor #​5523 DX: EregToPregFixer - fix sorting (keradus)
    • minor #​5528 DX: code cleanup (keradus)

    v2.18.2

    Compare Source

    • bug #​5466 Fix runtime check of PHP version (keradus)
    • minor #​4250 POC Tokens::insertSlices (keradus)

    v2.18.1

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5444 Fix PHP version number in PHP54MigrationSet description (jdreesen, keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5458 CI: fix migration workflow (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.18.0

    Compare Source

    • feature #​4943 Add PSR12 ruleset (julienfalque, keradus)
    • feature #​5426 Update Symfony ruleset (keradus)
    • feature #​5428 Add/Change PHP.MigrationSet to update array/list syntax to short one (keradus)
    • minor #​5441 Allow execution under PHP 8 (keradus)

    v2.17.5

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.17.4

    Compare Source

    • bug #​5379 PhpUnitMethodCasingFixer - Do not modify class name (localheinz)
    • bug #​5404 NullableTypeTransformer - constructor property promotion support (Wirone)
    • bug #​5433 PhpUnitTestCaseStaticMethodCallsFixer - fix for abstract static method (kubawerlos)
    • minor #​5234 DX: Add Docker dev setup (julienfalque, keradus)
    • minor #​5391 PhpdocOrderByValueFixer - Add additional annotations to sort (localheinz)
    • minor #​5392 PhpdocScalarFixer - Fix description (localheinz)
    • minor #​5397 NoExtraBlankLinesFixer - PHP8 throw support (SpacePossum)
    • minor #​5399 Add PHP8 integration test (keradus)
    • minor #​5405 TypeAlternationTransformer - add support for PHP8 (SpacePossum)
    • minor #​5406 SingleSpaceAfterConstructFixer - Attributes, comments and PHPDoc support (SpacePossum)
    • minor #​5407 TokensAnalyzer::getClassyElements - return trait imports (SpacePossum)
    • minor #​5410 minors (SpacePossum)
    • minor #​5411 bump year in LICENSE file (SpacePossum)
    • minor #​5414 TypeAlternationTransformer - T_FN support (SpacePossum)
    • minor #​5415 Forbid execution under PHP 8.0.0 (keradus)
    • minor #​5416 Drop Travis CI (keradus)
    • minor #​5419 CI: separate SCA checks to dedicated jobs (keradus)
    • minor #​5420 DX: unblock PHPUnit 9.5 (keradus)
    • minor #​5423 DX: PHPUnit - disable verbose by default (keradus)
    • minor #​5425 Cleanup 3.0 todos (keradus)
    • minor #​5427 Plan changing defaults for array_syntax and list_syntax in 3.0 release (keradus)
    • minor #​5429 DX: Drop speedtrap PHPUnit listener (keradus)
    • minor #​5432 Don't allow unserializing classes with a destructor (jderusse)
    • minor #​5435 DX: PHPUnit - groom configuration of time limits (keradus)
    • minor #​5439 VisibilityRequiredFixer - support type alternation for properties (keradus)
    • minor #​5442 DX: FunctionsAnalyzerTest - add missing 7.0 requirement (keradus)

    v2.17.3

    Compare Source

    • bug #​5384 PsrAutoloadingFixer - do not remove directory structure from the Class name (kubawerlos, keradus)
    • bug #​5385 SingleLineCommentStyleFixer- run before NoUselessReturnFixer (kubawerlos)
    • bug #​5387 SingleSpaceAfterConstructFixer - do not touch multi line implements (SpacePossum)
    • minor #​5329 DX: collect coverage with Github Actions (kubawerlos)
    • minor #​5380 PhpdocOrderByValueFixer - Allow sorting of throws annotations by value (localheinz, keradus)
    • minor #​5383 DX: fail PHPUnit tests on warning (kubawerlos)
    • minor #​5386 DX: remove incorrect priority relations (kubawerlos)

    v2.17.2

    Compare Source

    • bug #​5345 CleanNamespaceFixer - preserve traling comments (SpacePossum)
    • bug #​5348 PsrAutoloadingFixer - fix for class without namespace (kubawerlos)
    • bug #​5362 SingleSpaceAfterConstructFixer: Do not adjust whitespace before multiple multi-line extends (localheinz, SpacePossum)
    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5319 Clean ups (SpacePossum)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5353 Fix typo in issue template (stof)
    • minor #​5355 OrderedTraitsFixer - mark as risky (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5359 Add application version to "fix" out put when verbosity flag is set (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5363 Added missing self return type to ConfigInterface::registerCustomFixers() (vudaltsov)
    • minor #​5366 PhpUnitDedicateAssertInternalTypeFixer - recover target option (keradus)
    • minor #​5368 DX: PHPUnit 9 compatibility for 2.17 (keradus)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5371 Update documentation about PHP_CS_FIXER_IGNORE_ENV (SanderSander, keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.17.1

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5332 Fix file missing for php8 (jderusse)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    v2.17.0

    Compare Source

    • bug #​4752 SimpleLambdaCallFixer - bug fixes (SpacePossum)
    • bug #​4794 TernaryToElvisOperatorFixer - fix open tag with echo (SpacePossum)
    • bug #​5084 Fix for variables within string interpolation in lambda_not_used_import (GrahamCampbell)
    • bug #​5094 SwitchContinueToBreakFixer - do not support alternative syntax (SpacePossum)
    • feature #​2619 PSR-5 @​inheritDoc support (julienfalque)
    • feature #​3253 Add SimplifiedIfReturnFixer (Slamdunk, SpacePossum)
    • feature #​4005 GroupImportFixer - introduction (greeflas)
    • feature #​4012 BracesFixer - add "allow_single_line_anonymous_class_with_empty_body" option (kubawerlos)
    • feature #​4021 OperatorLinebreakFixer - Introduction (kubawerlos, SpacePossum)
    • feature #​4259 PsrAutoloadingFixer - introduction (kubawerlos)
    • feature #​4375 extend ruleset "@​PHP73Migration" (gharlan)
    • feature #​4435 SingleSpaceAfterConstructFixer - Introduction (localheinz)
    • feature #​4493 Add echo_tag_syntax rule (mlocati, kubawerlos)
    • feature #​4544 SimpleLambdaCallFixer - introduction (keradus)
    • feature #​4569 PhpdocOrderByValueFixer - Introduction (localheinz)
    • feature #​4590 SwitchContinueToBreakFixer - Introduction (SpacePossum)
    • feature #​4679 NativeConstantInvocationFixer - add "strict" flag (kubawerlos)
    • feature #​4701 OrderedTraitsFixer - introduction (julienfalque)
    • feature #​4704 LambdaNotUsedImportFixer - introduction (SpacePossum)
    • feature #​4740 NoAliasLanguageConstructCallFixer - introduction (SpacePossum)
    • feature #​4741 TernaryToElvisOperatorFixer - introduction (SpacePossum)
    • feature #​4778 UseArrowFunctionsFixer - introduction (gharlan)
    • feature #​4790 ArrayPushFixer - introduction (SpacePossum)
    • feature #​4800 NoUnneededFinalMethodFixer - Add "private_methods" option (SpacePossum)
    • feature #​4831 BlankLineBeforeStatementFixer - add yield from (SpacePossum)
    • feature #​4832 NoUnneededControlParenthesesFixer - add yield from (SpacePossum)
    • feature #​4863 NoTrailingWhitespaceInStringFixer - introduction (gharlan)
    • feature #​4875 ClassAttributesSeparationFixer - add option for no new lines between properties (adri, ruudk)
    • feature #​4880 HeredocIndentationFixer - config option for indentation level (gharlan)
    • feature #​4908 PhpUnitExpectationFixer - update for Phpunit 8.4 (ktomk)
    • feature #​4942 OrderedClassElementsFixer - added support for abstract method sorting (carlalexander, SpacePossum)
    • feature #​4947 NativeConstantInvocation - Add "PHP_INT_SIZE" to SF rule set (kubawerlos)
    • feature #​4953 Add support for custom differ (paulhenri-l, SpacePossum)
    • feature #​5264 CleanNamespaceFixer - Introduction (SpacePossum)
    • feature #​5280 NoUselessSprintfFixer - Introduction (SpacePossum)
    • minor #​4634 Make all options snake_case (kubawerlos)
    • minor #​4667 PhpUnitOrderedCoversFixer - stop using deprecated fixer (keradus)
    • minor #​4673 FinalStaticAccessFixer - deprecate (julienfalque)
    • minor #​4762 Rename simple_lambda_call to regular_callable_call (julienfalque)
    • minor #​4782 Update RuleSets (SpacePossum)
    • minor #​4802 Master cleanup (SpacePossum)
    • minor #​4828 Deprecate Config::create() (DocFX)
    • minor #​4872 Update RuleSet SF and PHP-CS-Fixer with new config for `no_extra_blan… (SpacePossum)
    • minor #​4900 Move "no_trailing_whitespace_in_string" to SF ruleset. (SpacePossum)
    • minor #​4903 Docs: extend regular_callable_call rule docs (keradus, SpacePossum)
    • minor #​4910 Add use_arrow_functions rule to PHP74Migration:risky set (keradus)
    • minor #​5025 PhpUnitDedicateAssertInternalTypeFixer - deprecate "target" option (kubawerlos)
    • minor #​5037 FinalInternalClassFixer- Rename option (SpacePossum)
    • minor #​5093 LambdaNotUsedImportFixer - add heredoc test (SpacePossum)
    • minor #​5163 Fix CS (SpacePossum)
    • minor #​5169 PHP8 care package master (SpacePossum)
    • minor #​5186 Fix tests (SpacePossum)
    • minor #​5192 GotoLabelAnalyzer - introduction (SpacePossum)
    • minor #​5230 Fix: Reference (localheinz)
    • minor #​5240 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5244 Fix 2.17 build (keradus)
    • minor #​5251 PHP8 - match support (SpacePossum)
    • minor #​5252 Update RuleSets (SpacePossum)
    • minor #​5278 PHP8 constructor property promotion support (SpacePossum)
    • minor #​5284 PHP8 - Attribute support (SpacePossum)
    • minor #​5323 NoUselessSprintfFixer - Fix test on PHP5.6 (SpacePossum)
    • minor #​5326 DX: relax composer requirements to not block installation under PHP v8, support for PHP v8 is not yet ready (keradus)

    v2.16.10

    Compare Source

    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.16.9

    Compare Source

    • bug #​5095 Annotation - fix for Windows line endings (SpacePossum)
    • bug #​5221 NoSuperfluousPhpdocTagsFixer - fix for single line PHPDoc (kubawerlos)
    • bug #​5225 TernaryOperatorSpacesFixer - fix for alternative control structures (kubawerlos)
    • bug #​5235 ArrayIndentationFixer - fix for nested arrays (kubawerlos)
    • bug #​5248 NoBreakCommentFixer - fix throw detect (SpacePossum)
    • bug #​5250 SwitchAnalyzer - fix for semicolon after case/default (kubawerlos)
    • bug #​5253 IO - fix cache info message (SpacePossum)
    • bug #​5273 Fix PHPDoc line span fixer when property has array typehint (ossinkine)
    • bug #​5274 TernaryToNullCoalescingFixer - concat precedence fix (SpacePossum)
    • feature #​5216 Add RuleSets to docs (SpacePossum)
    • minor #​5226 Applied CS fixes from 2.17-dev (GrahamCampbell)
    • minor #​5229 Fixed incorrect phpdoc (GrahamCampbell)
    • minor #​5231 CS: unify styling with younger branches (keradus)
    • minor #​5232 PHP8 - throw expression support (SpacePossum)
    • minor #​5233 DX: simplify check_file_permissions.sh (kubawerlos)
    • minor #​5236 Improve handling of unavailable code samples (julienfalque, keradus)
    • minor #​5239 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5254 PHP8 - mixed type support (SpacePossum)
    • minor #​5255 Tests: do not skip documentation test (keradus)
    • minor #​5256 Docs: phpdoc_to_return_type - add new example in docs (keradus)
    • minor #​5261 Do not update Composer twice (sanmai)
    • minor #​5263 PHP8 support (SpacePossum)
    • minor #​5266 PhpUnitTestCaseStaticMethodCallsFixer - PHPUnit 9.x support (sanmai)
    • minor #​5267 Improve InstallViaComposerTest (sanmai)
    • minor #​5268 Add GitHub Workflows CI, including testing on PHP 8 and on macOS/Windows/Ubuntu (sanmai)
    • minor #​5269 Prep work to migrate to PHPUnit 9.x (sanmai, keradus)
    • minor #​5275 remove not supported verbose options (SpacePossum)
    • minor #​5276 PHP8 - add NoUnreachableDefaultArgumentValueFixer to risky set (SpacePossum)
    • minor #​5277 PHP8 - Constructor Property Promotion support (SpacePossum)
    • minor #​5292 Disable blank issue template and expose community chat (keradus)
    • minor #​5293 Add documentation to "yoda_style" sniff to convert Yoda style to non-Yoda style (Luc45)
    • minor #​5295 Run static code analysis off GitHub Actions (sanmai)
    • minor #​5298 Add yamllint workflow, validates .yaml files (sanmai)
    • minor #​5302 SingleLineCommentStyleFixer - do not fix possible attributes (PHP8) (SpacePossum)
    • minor #​5303 Drop CircleCI and AppVeyor (keradus)
    • minor #​5304 DX: rename TravisTest, as we no longer test only Travis there (keradus)
    • minor #​5305 Groom GitHub CI and move some checks from TravisCI to GitHub CI (keradus)
    • minor #​5308 Only run yamllint when a YAML file is changed (julienfalque, keradus)
    • minor #​5309 CICD: create yamllint config file (keradus)
    • minor #​5311 OrderedClassElementsFixer - PHPUnit Bridge support (ktomk)
    • minor #​5316 PHP8 - Attribute support (SpacePossum)
    • minor #​5321 DX: little code grooming (keradus)

    v2.16.8

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    Configuration

    πŸ“… Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency friendsofphp/php-cs-fixer to v2.18.2

    Update dependency friendsofphp/php-cs-fixer to v2.18.2

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | friendsofphp/php-cs-fixer | require-dev | minor | 2.16.7 -> 2.18.2 |


    Release Notes

    FriendsOfPHP/PHP-CS-Fixer

    v2.18.2

    Compare Source

    • bug #​5466 Fix runtime check of PHP version (keradus)
    • minor #​4250 POC Tokens::insertSlices (keradus)

    v2.18.1

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5444 Fix PHP version number in PHP54MigrationSet description (jdreesen, keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5458 CI: fix migration workflow (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.18.0

    Compare Source

    • feature #​4943 Add PSR12 ruleset (julienfalque, keradus)
    • feature #​5426 Update Symfony ruleset (keradus)
    • feature #​5428 Add/Change PHP.MigrationSet to update array/list syntax to short one (keradus)
    • minor #​5441 Allow execution under PHP 8 (keradus)

    v2.17.5

    Compare Source

    • bug #​5447 switch_case_semicolon_to_colon should skip match/default statements (derrabus)
    • bug #​5453 SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace (keradus)
    • bug #​5454 NullableTypeDeclarationForDefaultNullValueFixer - support property promotion via constructor (keradus)
    • bug #​5455 PhpdocToCommentFixer - add support for attributes (keradus)
    • bug #​5462 NullableTypeDeclarationForDefaultNullValueFixer - support union types (keradus)
    • minor #​5445 DX: update usage of old TraversableContains in tests (keradus)
    • minor #​5456 DX: Fix CiIntegrationTest (keradus)
    • minor #​5457 CI: fix params order (keradus)
    • minor #​5459 DX: cleanup PHP Migration rulesets (keradus)

    v2.17.4

    Compare Source

    • bug #​5379 PhpUnitMethodCasingFixer - Do not modify class name (localheinz)
    • bug #​5404 NullableTypeTransformer - constructor property promotion support (Wirone)
    • bug #​5433 PhpUnitTestCaseStaticMethodCallsFixer - fix for abstract static method (kubawerlos)
    • minor #​5234 DX: Add Docker dev setup (julienfalque, keradus)
    • minor #​5391 PhpdocOrderByValueFixer - Add additional annotations to sort (localheinz)
    • minor #​5392 PhpdocScalarFixer - Fix description (localheinz)
    • minor #​5397 NoExtraBlankLinesFixer - PHP8 throw support (SpacePossum)
    • minor #​5399 Add PHP8 integration test (keradus)
    • minor #​5405 TypeAlternationTransformer - add support for PHP8 (SpacePossum)
    • minor #​5406 SingleSpaceAfterConstructFixer - Attributes, comments and PHPDoc support (SpacePossum)
    • minor #​5407 TokensAnalyzer::getClassyElements - return trait imports (SpacePossum)
    • minor #​5410 minors (SpacePossum)
    • minor #​5411 bump year in LICENSE file (SpacePossum)
    • minor #​5414 TypeAlternationTransformer - T_FN support (SpacePossum)
    • minor #​5415 Forbid execution under PHP 8.0.0 (keradus)
    • minor #​5416 Drop Travis CI (keradus)
    • minor #​5419 CI: separate SCA checks to dedicated jobs (keradus)
    • minor #​5420 DX: unblock PHPUnit 9.5 (keradus)
    • minor #​5423 DX: PHPUnit - disable verbose by default (keradus)
    • minor #​5425 Cleanup 3.0 todos (keradus)
    • minor #​5427 Plan changing defaults for array_syntax and list_syntax in 3.0 release (keradus)
    • minor #​5429 DX: Drop speedtrap PHPUnit listener (keradus)
    • minor #​5432 Don't allow unserializing classes with a destructor (jderusse)
    • minor #​5435 DX: PHPUnit - groom configuration of time limits (keradus)
    • minor #​5439 VisibilityRequiredFixer - support type alternation for properties (keradus)
    • minor #​5442 DX: FunctionsAnalyzerTest - add missing 7.0 requirement (keradus)

    v2.17.3

    Compare Source

    • bug #​5384 PsrAutoloadingFixer - do not remove directory structure from the Class name (kubawerlos, keradus)
    • bug #​5385 SingleLineCommentStyleFixer- run before NoUselessReturnFixer (kubawerlos)
    • bug #​5387 SingleSpaceAfterConstructFixer - do not touch multi line implements (SpacePossum)
    • minor #​5329 DX: collect coverage with Github Actions (kubawerlos)
    • minor #​5380 PhpdocOrderByValueFixer - Allow sorting of throws annotations by value (localheinz, keradus)
    • minor #​5383 DX: fail PHPUnit tests on warning (kubawerlos)
    • minor #​5386 DX: remove incorrect priority relations (kubawerlos)

    v2.17.2

    Compare Source

    • bug #​5345 CleanNamespaceFixer - preserve traling comments (SpacePossum)
    • bug #​5348 PsrAutoloadingFixer - fix for class without namespace (kubawerlos)
    • bug #​5362 SingleSpaceAfterConstructFixer: Do not adjust whitespace before multiple multi-line extends (localheinz, SpacePossum)
    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5319 Clean ups (SpacePossum)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5353 Fix typo in issue template (stof)
    • minor #​5355 OrderedTraitsFixer - mark as risky (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5359 Add application version to "fix" out put when verbosity flag is set (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5363 Added missing self return type to ConfigInterface::registerCustomFixers() (vudaltsov)
    • minor #​5366 PhpUnitDedicateAssertInternalTypeFixer - recover target option (keradus)
    • minor #​5368 DX: PHPUnit 9 compatibility for 2.17 (keradus)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5371 Update documentation about PHP_CS_FIXER_IGNORE_ENV (SanderSander, keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.17.1

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5332 Fix file missing for php8 (jderusse)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    v2.17.0

    Compare Source

    • bug #​4752 SimpleLambdaCallFixer - bug fixes (SpacePossum)
    • bug #​4794 TernaryToElvisOperatorFixer - fix open tag with echo (SpacePossum)
    • bug #​5084 Fix for variables within string interpolation in lambda_not_used_import (GrahamCampbell)
    • bug #​5094 SwitchContinueToBreakFixer - do not support alternative syntax (SpacePossum)
    • feature #​2619 PSR-5 @​inheritDoc support (julienfalque)
    • feature #​3253 Add SimplifiedIfReturnFixer (Slamdunk, SpacePossum)
    • feature #​4005 GroupImportFixer - introduction (greeflas)
    • feature #​4012 BracesFixer - add "allow_single_line_anonymous_class_with_empty_body" option (kubawerlos)
    • feature #​4021 OperatorLinebreakFixer - Introduction (kubawerlos, SpacePossum)
    • feature #​4259 PsrAutoloadingFixer - introduction (kubawerlos)
    • feature #​4375 extend ruleset "@​PHP73Migration" (gharlan)
    • feature #​4435 SingleSpaceAfterConstructFixer - Introduction (localheinz)
    • feature #​4493 Add echo_tag_syntax rule (mlocati, kubawerlos)
    • feature #​4544 SimpleLambdaCallFixer - introduction (keradus)
    • feature #​4569 PhpdocOrderByValueFixer - Introduction (localheinz)
    • feature #​4590 SwitchContinueToBreakFixer - Introduction (SpacePossum)
    • feature #​4679 NativeConstantInvocationFixer - add "strict" flag (kubawerlos)
    • feature #​4701 OrderedTraitsFixer - introduction (julienfalque)
    • feature #​4704 LambdaNotUsedImportFixer - introduction (SpacePossum)
    • feature #​4740 NoAliasLanguageConstructCallFixer - introduction (SpacePossum)
    • feature #​4741 TernaryToElvisOperatorFixer - introduction (SpacePossum)
    • feature #​4778 UseArrowFunctionsFixer - introduction (gharlan)
    • feature #​4790 ArrayPushFixer - introduction (SpacePossum)
    • feature #​4800 NoUnneededFinalMethodFixer - Add "private_methods" option (SpacePossum)
    • feature #​4831 BlankLineBeforeStatementFixer - add yield from (SpacePossum)
    • feature #​4832 NoUnneededControlParenthesesFixer - add yield from (SpacePossum)
    • feature #​4863 NoTrailingWhitespaceInStringFixer - introduction (gharlan)
    • feature #​4875 ClassAttributesSeparationFixer - add option for no new lines between properties (adri, ruudk)
    • feature #​4880 HeredocIndentationFixer - config option for indentation level (gharlan)
    • feature #​4908 PhpUnitExpectationFixer - update for Phpunit 8.4 (ktomk)
    • feature #​4942 OrderedClassElementsFixer - added support for abstract method sorting (carlalexander, SpacePossum)
    • feature #​4947 NativeConstantInvocation - Add "PHP_INT_SIZE" to SF rule set (kubawerlos)
    • feature #​4953 Add support for custom differ (paulhenri-l, SpacePossum)
    • feature #​5264 CleanNamespaceFixer - Introduction (SpacePossum)
    • feature #​5280 NoUselessSprintfFixer - Introduction (SpacePossum)
    • minor #​4634 Make all options snake_case (kubawerlos)
    • minor #​4667 PhpUnitOrderedCoversFixer - stop using deprecated fixer (keradus)
    • minor #​4673 FinalStaticAccessFixer - deprecate (julienfalque)
    • minor #​4762 Rename simple_lambda_call to regular_callable_call (julienfalque)
    • minor #​4782 Update RuleSets (SpacePossum)
    • minor #​4802 Master cleanup (SpacePossum)
    • minor #​4828 Deprecate Config::create() (DocFX)
    • minor #​4872 Update RuleSet SF and PHP-CS-Fixer with new config for `no_extra_blan… (SpacePossum)
    • minor #​4900 Move "no_trailing_whitespace_in_string" to SF ruleset. (SpacePossum)
    • minor #​4903 Docs: extend regular_callable_call rule docs (keradus, SpacePossum)
    • minor #​4910 Add use_arrow_functions rule to PHP74Migration:risky set (keradus)
    • minor #​5025 PhpUnitDedicateAssertInternalTypeFixer - deprecate "target" option (kubawerlos)
    • minor #​5037 FinalInternalClassFixer- Rename option (SpacePossum)
    • minor #​5093 LambdaNotUsedImportFixer - add heredoc test (SpacePossum)
    • minor #​5163 Fix CS (SpacePossum)
    • minor #​5169 PHP8 care package master (SpacePossum)
    • minor #​5186 Fix tests (SpacePossum)
    • minor #​5192 GotoLabelAnalyzer - introduction (SpacePossum)
    • minor #​5230 Fix: Reference (localheinz)
    • minor #​5240 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5244 Fix 2.17 build (keradus)
    • minor #​5251 PHP8 - match support (SpacePossum)
    • minor #​5252 Update RuleSets (SpacePossum)
    • minor #​5278 PHP8 constructor property promotion support (SpacePossum)
    • minor #​5284 PHP8 - Attribute support (SpacePossum)
    • minor #​5323 NoUselessSprintfFixer - Fix test on PHP5.6 (SpacePossum)
    • minor #​5326 DX: relax composer requirements to not block installation under PHP v8, support for PHP v8 is not yet ready (keradus)

    v2.16.10

    Compare Source

    • minor #​5314 Enable testing with PHPUnit 9.x (sanmai)
    • minor #​5338 clean ups (SpacePossum)
    • minor #​5339 NoEmptyStatementFixer - fix more cases (SpacePossum)
    • minor #​5340 NamedArgumentTransformer - Introduction (SpacePossum)
    • minor #​5344 Update docs: do not use deprecated create method (SpacePossum)
    • minor #​5356 RuleSet description fixes (SpacePossum)
    • minor #​5360 DX: clean up detectIndent methods (kubawerlos)
    • minor #​5370 DX: update PHPUnit usage to use external Prophecy trait and solve warning (keradus)
    • minor #​5373 DX: MagicMethodCasingFixerTest - fix test case description (keradus)
    • minor #​5374 DX: PhpUnitDedicateAssertInternalTypeFixer - add code sample for non-default config (keradus)

    v2.16.9

    Compare Source

    • bug #​5095 Annotation - fix for Windows line endings (SpacePossum)
    • bug #​5221 NoSuperfluousPhpdocTagsFixer - fix for single line PHPDoc (kubawerlos)
    • bug #​5225 TernaryOperatorSpacesFixer - fix for alternative control structures (kubawerlos)
    • bug #​5235 ArrayIndentationFixer - fix for nested arrays (kubawerlos)
    • bug #​5248 NoBreakCommentFixer - fix throw detect (SpacePossum)
    • bug #​5250 SwitchAnalyzer - fix for semicolon after case/default (kubawerlos)
    • bug #​5253 IO - fix cache info message (SpacePossum)
    • bug #​5273 Fix PHPDoc line span fixer when property has array typehint (ossinkine)
    • bug #​5274 TernaryToNullCoalescingFixer - concat precedence fix (SpacePossum)
    • feature #​5216 Add RuleSets to docs (SpacePossum)
    • minor #​5226 Applied CS fixes from 2.17-dev (GrahamCampbell)
    • minor #​5229 Fixed incorrect phpdoc (GrahamCampbell)
    • minor #​5231 CS: unify styling with younger branches (keradus)
    • minor #​5232 PHP8 - throw expression support (SpacePossum)
    • minor #​5233 DX: simplify check_file_permissions.sh (kubawerlos)
    • minor #​5236 Improve handling of unavailable code samples (julienfalque, keradus)
    • minor #​5239 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • minor #​5254 PHP8 - mixed type support (SpacePossum)
    • minor #​5255 Tests: do not skip documentation test (keradus)
    • minor #​5256 Docs: phpdoc_to_return_type - add new example in docs (keradus)
    • minor #​5261 Do not update Composer twice (sanmai)
    • minor #​5263 PHP8 support (SpacePossum)
    • minor #​5266 PhpUnitTestCaseStaticMethodCallsFixer - PHPUnit 9.x support (sanmai)
    • minor #​5267 Improve InstallViaComposerTest (sanmai)
    • minor #​5268 Add GitHub Workflows CI, including testing on PHP 8 and on macOS/Windows/Ubuntu (sanmai)
    • minor #​5269 Prep work to migrate to PHPUnit 9.x (sanmai, keradus)
    • minor #​5275 remove not supported verbose options (SpacePossum)
    • minor #​5276 PHP8 - add NoUnreachableDefaultArgumentValueFixer to risky set (SpacePossum)
    • minor #​5277 PHP8 - Constructor Property Promotion support (SpacePossum)
    • minor #​5292 Disable blank issue template and expose community chat (keradus)
    • minor #​5293 Add documentation to "yoda_style" sniff to convert Yoda style to non-Yoda style (Luc45)
    • minor #​5295 Run static code analysis off GitHub Actions (sanmai)
    • minor #​5298 Add yamllint workflow, validates .yaml files (sanmai)
    • minor #​5302 SingleLineCommentStyleFixer - do not fix possible attributes (PHP8) (SpacePossum)
    • minor #​5303 Drop CircleCI and AppVeyor (keradus)
    • minor #​5304 DX: rename TravisTest, as we no longer test only Travis there (keradus)
    • minor #​5305 Groom GitHub CI and move some checks from TravisCI to GitHub CI (keradus)
    • minor #​5308 Only run yamllint when a YAML file is changed (julienfalque, keradus)
    • minor #​5309 CICD: create yamllint config file (keradus)
    • minor #​5311 OrderedClassElementsFixer - PHPUnit Bridge support (ktomk)
    • minor #​5316 PHP8 - Attribute support (SpacePossum)
    • minor #​5321 DX: little code grooming (keradus)

    v2.16.8

    Compare Source

    • bug #​5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • bug #​5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • bug #​5333 Fix file missing for php8 (jderusse)
    • minor #​5328 Fixed deprecation message version (GrahamCampbell)
    • minor #​5330 DX: cleanup Github Actions configs (kubawerlos)

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency friendsofphp/php-cs-fixer to v2.16.7

    Update dependency friendsofphp/php-cs-fixer to v2.16.7

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | friendsofphp/php-cs-fixer | require-dev | patch | 2.16.4 -> 2.16.7 |


    Release Notes

    FriendsOfPHP/PHP-CS-Fixer

    v2.16.7

    Compare Source

    experimental release

    • Require PHP 7.1

    v2.16.6

    Compare Source

    experimental release

    • Require PHP 7.0

    v2.16.5

    Compare Source

    • bug #​4378 PhpUnitNoExpectationAnnotationFixer - annotation in single line doc comment (kubawerlos)
    • bug #​4936 HeaderCommentFixer - Fix unexpected removal of regular comments (julienfalque)
    • bug #​5006 PhpdocToParamTypeFixer - fix for breaking PHP syntax for type having reserved name (kubawerlos)
    • bug #​5016 NoSuperfluousPhpdocTagsFixer - fix for @​return with @​inheritDoc in description (kubawerlos)
    • bug #​5017 PhpdocTrimConsecutiveBlankLineSeparationFixer - must run after AlignMultilineCommentFixer (kubawerlos)
    • bug #​5032 SingleLineAfterImportsFixer - fix for line after import (and before another import) already added using CRLF (kubawerlos)
    • bug #​5033 VoidReturnFixer - must run after NoSuperfluousPhpdocTagsFixer (kubawerlos)
    • bug #​5038 HelpCommandTest - toString nested array (SpacePossum)
    • bug #​5040 LinebreakAfterOpeningTagFixer - do not change code if linebreak already present (kubawerlos)
    • bug #​5044 StandardizeIncrementFixer - fix handling static properties (kubawerlos)
    • bug #​5045 BacktickToShellExecFixer - add priority relation to NativeFunctionInvocationFixer and SingleQuoteFixer (kubawerlos)
    • bug #​5054 PhpdocTypesFixer - fix for multidimensional array (kubawerlos)
    • bug #​5065 TernaryOperatorSpacesFixer - fix for discovering ":" correctly (kubawerlos)
    • bug #​5068 Fixed php-cs-fixer crashes on input file syntax error (GrahamCampbell)
    • bug #​5087 NoAlternativeSyntaxFixer - add support for switch and declare (SpacePossum)
    • bug #​5092 PhpdocToParamTypeFixer - remove not used option (SpacePossum)
    • bug #​5105 ClassKeywordRemoveFixer - fix for fully qualified class (kubawerlos)
    • bug #​5113 TernaryOperatorSpacesFixer - handle goto labels (SpacePossum)
    • bug #​5124 Fix TernaryToNullCoalescingFixer when dealing with object properties (HypeMC)
    • bug #​5137 DoctrineAnnotationSpacesFixer - fix for typed properties (kubawerlos)
    • bug #​5180 Always lint test cases with the stricter process linter (GrahamCampbell)
    • bug #​5190 PhpUnit*Fixers - Only fix in unit test class scope (SpacePossum)
    • bug #​5195 YodaStyle - statements in braces should be treated as variables in strict … (SpacePossum)
    • bug #​5220 NoUnneededFinalMethodFixer - do not fix private constructors (SpacePossum)
    • feature #​3475 Rework documentation (julienfalque, SpacePossum)
    • feature #​5166 PHP8 (SpacePossum)
    • minor #​4878 ArrayIndentationFixer - refactor (julienfalque)
    • minor #​5031 CI: skip_cleanup: true (keradus)
    • minor #​5035 PhpdocToParamTypeFixer - Rename attribute (SpacePossum)
    • minor #​5048 Allow composer/semver ^2.0 and ^3.0 (thomasvargiu)
    • minor #​5050 DX: moving integration test for braces, indentation_type and no_break_comment into right place (kubawerlos)
    • minor #​5051 DX: move all tests from AutoReview\FixerTest to Test\AbstractFixerTestCase (kubawerlos)
    • minor #​5053 DX: cleanup FunctionTypehintSpaceFixer (kubawerlos)
    • minor #​5056 DX: add missing priority test for indentation_type and phpdoc_indent (kubawerlos)
    • minor #​5077 DX: add missing priority test between NoUnsetCastFixer and BinaryOperatorSpacesFixer (kubawerlos)
    • minor #​5083 Update composer.json to prevent issue #​5030 (mvorisek)
    • minor #​5088 NoBreakCommentFixer - NoUselessElseFixer - priority test (SpacePossum)
    • minor #​5100 Fixed invalid PHP 5.6 syntax (GrahamCampbell)
    • minor #​5106 Symfony's finder already ignores vcs and dot files by default (GrahamCampbell)
    • minor #​5112 DX: check file permissions (kubawerlos, SpacePossum)
    • minor #​5122 Show runtime PHP version (kubawerlos)
    • minor #​5132 Do not allow assignments in if statements (SpacePossum)
    • minor #​5133 RuleSetTest - Early return for boolean and detect more defaults (SpacePossum)
    • minor #​5139 revert some unneeded exclusions (SpacePossum)
    • minor #​5148 Upgrade Xcode (kubawerlos)
    • minor #​5149 NoUnsetOnPropertyFixer - risky description tweaks (SpacePossum)
    • minor #​5161 minors (SpacePossum)
    • minor #​5170 Fix test on PHP8 (SpacePossum)
    • minor #​5172 Remove accidentally inserted newlines (GrahamCampbell)
    • minor #​5173 Fix PHP8 RuleSet inherit (SpacePossum)
    • minor #​5174 Corrected linting error messages (GrahamCampbell)
    • minor #​5177 PHP8 (SpacePossum)
    • minor #​5178 Fix tests (SpacePossum)
    • minor #​5184 [FinalStaticAccessFixer] Handle new static() in final class (localheinz)
    • minor #​5188 DX: Update sibling debs to version supporting PHP8/PHPUnit9 (keradus)
    • minor #​5189 Create temporary linting file in system temp dir (keradus)
    • minor #​5191 MethodArgumentSpaceFixer - support use/import of anonymous functions. (undefinedor)
    • minor #​5193 DX: add AbstractPhpUnitFixer (kubawerlos)
    • minor #​5204 DX: cleanup NullableTypeTransformerTest (kubawerlos)
    • minor #​5207 Add Β© for logo (keradus)
    • minor #​5208 DX: cleanup php-cs-fixer entry file (keradus)
    • minor #​5210 CICD - temporarily disable problematic test (keradus)
    • minor #​5211 CICD: fix file permissions (keradus)
    • minor #​5213 DX: move report schemas to dedicated dir (keradus)
    • minor #​5214 CICD: fix file permissions (keradus)
    • minor #​5215 CICD: update checkbashisms (keradus)
    • minor #​5217 CICD: use Composer v2 and drop hirak/prestissimo plugin (keradus)
    • minor #​5218 DX: .gitignore - add .phpunit.result.cache (keradus)
    • minor #​5222 Upgrade Xcode (kubawerlos)
    • minor #​5223 Docs: regenerate docs on 2.16 line (keradus)

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency squizlabs/php_codesniffer to v3.5.8

    Update dependency squizlabs/php_codesniffer to v3.5.8

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | squizlabs/php_codesniffer | require-dev | patch | 3.5.6 -> 3.5.8 |


    Release Notes

    squizlabs/PHP_CodeSniffer

    v3.5.8

    Compare Source

    • Reverted a change to the way include/exclude patterns are processed for STDIN content
      • This change is not backwards compatible and will be re-introduced in version 3.6.0

    v3.5.7

    Compare Source

    • The PHP 8.0 T_NULLSAFE_OBJECT_OPERATOR token has been made available for older versions
      • Existing sniffs that check for T_OBJECT_OPERATOR have been modified to apply the same rules for the nullsafe object operator
      • Thanks to Juliette Reinders Folmer for the patch
    • The new method of PHP 8.0 tokenizing for namespaced names has been revert to the pre 8.0 method
      • This maintains backwards compatible for existing sniffs on PHP 8.0
      • This change will be removed in PHPCS 4.0 as the PHP 8.0 tokenizing method will be backported for pre 8.0 versions
      • Thanks to Juliette Reinders Folmer for the patch
    • Added support for changes to the way PHP 8.0 tokenizes hash comments
      • The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
      • Thanks to Juliette Reinders Folmer for the patch
    • The autoloader has been changed to fix sniff class name detection issues that may occur when running on PHP 7.4+
      • Thanks to Eloy Lafuente for the patch
    • Running the unit tests now includes warnings in the found and fixable error code counts
      • Thanks to Juliette Reinders Folmer for the patch
    • PSR12.ControlStructures.BooleanOperatorPlacement.FoundMixed error message is now more accurate when using the allowOnly setting
      • Thanks to Vincent Langlet for the patch
    • PSR12.Functions.NullableTypeDeclaration now supports the PHP8 static return type
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed Squiz.Formatting.OperatorBracket false positive when exiting with a negative number
    • Fixed Squiz.PHP.DisallowComparisonAssignment false positive for methods called on an object
    • Fixed bug #​2882 : Generic.Arrays.ArrayIndent can request close brace indent to be less than the statement indent level
    • Fixed bug #​2883 : Generic.WhiteSpace.ScopeIndent.Incorrect issue after NOWDOC
    • Fixed bug #​2975 : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
    • Fixed bug #​2988 : Undefined offset in Squiz.Strings.ConcatenationSpacing during live coding
      • Thanks to Thiemo Kreuz for the patch
    • Fixed bug #​2989 : Incorrect auto-fixing in Generic.ControlStructures.InlineControlStructure during live coding
      • Thanks to Thiemo Kreuz for the patch
    • Fixed bug #​3007 : Directory exclude pattern improperly excludes directories with names that start the same
      • Thanks to Steve Talbot for the patch
    • Fixed bug #​3043 : Squiz.WhiteSpace.OperatorSpacing false positive for negation in arrow function
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3049 : Incorrect error with arrow function and parameter passed as reference
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3053 : PSR2 incorrect fix when multiple use statements on same line do not have whitespace between them
    • Fixed bug #​3058 : Progress gets unaligned when 100% happens at the end of the available dots
    • Fixed bug #​3059 : Squiz.Arrays.ArrayDeclaration false positive when using type casting
      • Thanks to Sergei Morozov for the patch
    • Fixed bug #​3060 : Squiz.Arrays.ArrayDeclaration false positive for static functions
      • Thanks to Sergei Morozov for the patch
    • Fixed bug #​3065 : Should not fix Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma if comment between element and comma
      • Thanks to Sergei Morozov for the patch
    • Fixed bug #​3066 : No support for namespace operator used in type declarations
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3075 : PSR12.ControlStructures.BooleanOperatorPlacement false positive when operator is the only content on line
    • Fixed bug #​3099 : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
      • Thanks to Sergei Morozov for the patch
    • Fixed bug #​3102 : PSR12.Squiz.OperatorSpacing false positive for default values of arrow functions
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​3124 : PSR-12 not reporting error for empty lines with only whitespace
    • Fixed bug #​3135 : Ignore annotations are broken on PHP 8.0
      • Thanks to Juliette Reinders Folmer for the patch

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Pin dependency phpunit/phpunit to 7.5.20

    Pin dependency phpunit/phpunit to 7.5.20

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | phpunit/phpunit (source) | require-dev | pin | ^7.0 -> 7.5.20 |

    :pushpin: Important: Renovate will wait until you have merged this Pin PR before creating any upgrade PRs for the affected packages. Add the preset :preserveSemverRanges to your config if you instead don't wish to pin dependencies.


    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    :ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency squizlabs/php_codesniffer to v3.5.6

    Update dependency squizlabs/php_codesniffer to v3.5.6

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | squizlabs/php_codesniffer | require-dev | patch | 3.5.5 -> 3.5.6 |


    Release Notes

    squizlabs/PHP_CodeSniffer

    v3.5.6

    Compare Source

    • Added support for PHP 8.0 magic constant dereferencing
      • Thanks to Juliette Reinders Folmer for the patch
    • Added support for changes to the way PHP 8.0 tokenizes comments
      • The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
      • Thanks to Juliette Reinders Folmer for the patch
    • File::getMethodProperties() now detects the PHP 8.0 static return type
      • Thanks to Juliette Reinders Folmer for the patch
    • The PHP 8.0 static return type is now supported for arrow functions
      • Thanks to Juliette Reinders Folmer for the patch
    • The cache is no longer used if the list of loaded PHP extensions changes
      • Thanks to Juliette Reinders Folmer for the patch
    • Generic.NamingConventions.CamelCapsFunctionName no longer reports __serialize and __unserialize as invalid names
      • Thanks to Filip Ε  for the patch
    • PEAR.NamingConventions.ValidFunctionName no longer reports __serialize and __unserialize as invalid names
      • Thanks to Filip Ε  for the patch
    • Squiz.Scope.StaticThisUsage now detects usage of $this inside closures and arrow functions
      • Thanks to MichaΕ‚ Bundyra for the patch
    • Fixed bug #​2877 : PEAR.Functions.FunctionCallSignature false positive for array of functions
      • Thanks to Vincent Langlet for the patch
    • Fixed bug #​2888 : PSR12.Files.FileHeader blank line error with multiple namespaces in one file
    • Fixed bug #​2926 : phpcs hangs when using arrow functions that return heredoc
    • Fixed bug #​2943 : Redundant semicolon added to a file when fixing PSR2.Files.ClosingTag.NotAllowed
    • Fixed bug #​2967 : Markdown generator does not output headings correctly
      • Thanks to Petr BugyΓ­k for the patch
    • Fixed bug #​2977 : File::isReference() does not detect return by reference for closures
      • Thanks to Juliette Reinders Folmer for the patch
    • Fixed bug #​2994 : Generic.Formatting.DisallowMultipleStatements false positive for FOR loop with no body
    • Fixed bug #​3033 : Error generated during tokenizing of goto statements on PHP 8
      • Thanks to Juliette Reinders Folmer for the patch

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 1
  • Update dependency phpunit/phpunit to v9.5.26

    Update dependency phpunit/phpunit to v9.5.26

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | phpunit/phpunit (source) | require-dev | patch | 9.5.14 -> 9.5.26 |


    Release Notes

    sebastianbergmann/phpunit

    v9.5.26

    Compare Source

    v9.5.25

    Compare Source

    v9.5.24

    Compare Source

    v9.5.23

    Compare Source

    v9.5.22

    Compare Source

    v9.5.21

    Compare Source

    v9.5.20

    Compare Source

    v9.5.19

    Compare Source

    v9.5.18

    Compare Source

    v9.5.17

    Compare Source

    v9.5.16

    Compare Source


    Configuration

    πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Ignored or Blocked

    These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

    Detected dependencies

    composer
    composer.json
    • php >=7.2
    • php-amqplib/php-amqplib ^2.11
    • ramsey/uuid ^4.1
    • squizlabs/php_codesniffer 3.7.1
    • phpunit/phpunit 9.5.14
    • clivern/phpcs 1.0.2
    github-actions
    .github/workflows/php.yml

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
Releases(2.0.1)
Owner
Ahmed
Ahmed
Pure PHP task runner

task/task Got a PHP project? Heard of Grunt and Gulp but don't use NodeJS? Task is a pure PHP task runner. Leverage PHP as a scripting language, and a

null 184 Sep 28, 2022
Modern task runner for PHP

RoboTask Modern and simple PHP task runner inspired by Gulp and Rake aimed to automate common tasks: writing cross-platform scripts processing assets

Consolidation 2.6k Dec 28, 2022
A versatile and lightweight PHP task runner, designed with simplicity in mind.

Blend A versatile and lightweight PHP task runner, designed with simplicity in mind. Table of Contents About Blend Installation Config Examples API Ch

Marwan Al-Soltany 42 Sep 29, 2022
A PHP implementation of a bare task loop.

TaskLoop A PHP implementation of a bare task loop. Installation. $ composer require thenlabs/task-loop 1.0.x-dev Usage. The file example.php contains

ThenLabs 1 Oct 17, 2022
Modern and simple PHP task runner inspired by Gulp and Rake aimed to automate common tasks

RoboTask Modern and simple PHP task runner inspired by Gulp and Rake aimed to automate common tasks: writing cross-platform scripts processing assets

Consolidation 2.6k Jan 3, 2023
Awesome Task Runner

Bldr Simplified Build System/Task Runner Uses Yaml, JSON, XML, PHP, or INI for configs Quick Usage To develop, run ./script/bootstrap, and then ./scri

null 223 Nov 20, 2022
Flow Framework Task Scheduler

This package provides a simple to use task scheduler for Neos Flow. Tasks are configured via settings, recurring tasks can be configured using cron syntax. Detailed options configure the first and last executions as well as options for the class handling the task.

Flowpack 11 Dec 21, 2022
Manage your Laravel Task Scheduling in a friendly interface and save schedules to the database.

Documentation This librarian creates a route(default: /schedule) in your application where it is possible to manage which schedules will be executed a

Roberson Faria 256 Dec 21, 2022
Task Scheduling with Cron Job in Laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Shariful Islam 1 Oct 16, 2021
Laravel-Tasks is a Complete Build of Laravel 5.2 with Individual User Task Lists

An app of tasks lists for each individual user. Built on Laravel 5.2, using 5.2 authentication and middleware. This has robust verbose examples using Laravel best practices.

Jeremy Kenedy 26 Aug 27, 2022
xcron - the souped up, modernized cron/Task Scheduler for Windows, Mac OSX, Linux, and FreeBSD server and desktop operating systems.

xcron is the souped up, modernized cron/Task Scheduler for Windows, Mac OSX, Linux, and FreeBSD server and desktop operating systems. MIT or LGPL.

CubicleSoft 7 Nov 30, 2022
Laravel Cron Scheduling - The ability to run the Laravel task scheduler using different crons

Laravel Cron Scheduling Laravel Task Scheduling is a great way to manage the cron. But the documentation contains the following warning: By default, m

Sergey Zhidkov 4 Sep 9, 2022
Reset the live preset for debug settings with a task

Debug Settings Task This TYPO3 extension resets TYPO3 debug settings to the Β»liveΒ« preset on production using a scheduler task. Vision β€œBetter safe th

webit! Gesellschaft fΓΌr neue Medien mbH 1 Aug 15, 2022
A PHP-based job scheduler

Crunz Install a cron job once and for all, manage the rest from the code. Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs)

null 58 Dec 26, 2022
PHP cron job scheduler

PHP Cron Scheduler This is a framework agnostic cron jobs scheduler that can be easily integrated with your project or run as a standalone command sch

Giuseppe Occhipinti 698 Jan 1, 2023
PHP port of resque (Workers and Queueing)

php-resque: PHP Resque Worker (and Enqueue) Resque is a Redis-backed library for creating background jobs, placing those jobs on one or more queues, a

Chris Boulton 3.5k Jan 5, 2023
Elegant SSH tasks for PHP.

Laravel Envoy Introduction Laravel Envoy provides a clean, minimal syntax for defining common tasks you run on your remote servers. Using Blade style

The Laravel Framework 1.5k Jan 1, 2023
Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs) in PHP using a fluent API.

Crunz Install a cron job once and for all, manage the rest from the code. Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs)

Reza Lavarian 1.4k Dec 26, 2022
Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro

Supporting Enqueue Enqueue is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and

Enqueue 2.1k Dec 22, 2022
Asynchronous & Fault-tolerant PHP Framework for Distributed Applications.

Kraken PHP Framework ~ Release the Kraken! Note: This repository contains the core of the Kraken Framework. If you want to start developing new applic

Kraken 1.1k Dec 27, 2022