Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer: controlled update of CS dependencies #71

Merged
merged 3 commits into from Mar 20, 2023

Commits on Mar 20, 2023

  1. Composer: allow the PHPCS plugin

    The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used by the DMS Coding Standard to register external PHPCS standards with PHPCS.
    
    As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run. This adds the necessary configuration for that.
    
    Refs:
    * https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
    jrfnl committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    e09a0f8 View commit details
    Browse the repository at this point in the history
  2. Composer: remove explicit PHPCS dependency

    The `squizlabs/php_codesniffer` package is a dependency of the `dms/coding-standard` package, not of **_this_** package.
    
    Better to let the `dms/coding-standard` package (and its dependencies) manage the minimum require PHPCS version.
    jrfnl committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    3475328 View commit details
    Browse the repository at this point in the history
  3. Composer: controlled update of CS dependencies

    ... without changing the version constraints.
    jrfnl committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    6fecd8f View commit details
    Browse the repository at this point in the history