Skip to content

9.8 | Add support to either Symfony Components 6.4 LTS or 7.4 LTS #229

@llaville

Description

@llaville

In waiting major release 10.0 that will be re-written from scratch with vendor-agnostic mindset (see explains at #220), I've a good new for all users that wants to keep uses of the Symfony 6.4 LTS components rather than 7.4 LTS

By default PHPLint 9.8.0 will have minimal dependencies :

bamarni/composer-bin-plugin               1.8.3  No conflicts for your bin dependencies
jetbrains/phpstorm-stubs                  2024.3 PHP runtime & extensions header files for PhpStorm
php-parallel-lint/php-console-color       1.0.1  Simple library for creating colored console ouput.
php-parallel-lint/php-console-highlighter 1.0.0  Highlight PHP code in terminal

After installing these basic packages, if you try to run bin/phplint binary command, following message will be displayed

You should install first the Symfony Components, with :
either - composer bin symfony-6.4LTS update
or     - composer bin symfony-7.4LTS update

Depending of your Symfony installation choices, you will be then able to run PHPLint as usual !

Hope you will like the compromised with a long wait ... before v10.0 ;-)

/cc @gnutix
/cc @overtrue

Symfony 6.4 LTS

container  [Docker] > composer bin symfony-6.4LTS show
[bamarni-bin] Checking namespace vendor-bin/symfony-6.4LTS
psr/cache                          3.0.0  Common interface for caching libraries
psr/container                      2.0.2  Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher               1.0.0  Standard interfaces for event handling.
psr/log                            3.0.2  Common interface for logging libraries
symfony/cache                      6.4.31 Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts            3.6.0  Generic abstractions related to caching
symfony/console                    6.4.31 Eases the creation of beautiful and testable command line interfaces
symfony/deprecation-contracts      3.6.0  A generic function and convention to trigger deprecation notices
symfony/event-dispatcher           6.4.25 Provides tools that allow your application components to communicate with each other by dispatchi...
symfony/event-dispatcher-contracts 3.6.0  Generic abstractions related to dispatching event
symfony/finder                     6.4.31 Finds files and directories via an intuitive fluent interface
symfony/options-resolver           6.4.30 Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype             1.33.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme     1.33.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-normalizer   1.33.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring          1.33.0 Symfony polyfill for the Mbstring extension
symfony/process                    6.4.31 Executes commands in sub-processes
symfony/service-contracts          3.6.1  Generic abstractions related to writing services
symfony/string                     7.4.0  Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme c...
symfony/var-exporter               7.4.0  Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                       6.4.30 Loads and dumps YAML files

Symfony 7.4 LTS

container  [Docker] > composer bin symfony-7.4LTS show
[bamarni-bin] Checking namespace vendor-bin/symfony-7.4LTS
psr/cache                          3.0.0  Common interface for caching libraries
psr/container                      2.0.2  Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher               1.0.0  Standard interfaces for event handling.
psr/log                            3.0.2  Common interface for logging libraries
symfony/cache                      7.4.3  Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts            3.6.0  Generic abstractions related to caching
symfony/console                    7.4.3  Eases the creation of beautiful and testable command line interfaces
symfony/deprecation-contracts      3.6.0  A generic function and convention to trigger deprecation notices
symfony/event-dispatcher           7.4.0  Provides tools that allow your application components to communicate with each other by dispatchi...
symfony/event-dispatcher-contracts 3.6.0  Generic abstractions related to dispatching event
symfony/finder                     7.4.3  Finds files and directories via an intuitive fluent interface
symfony/options-resolver           7.4.0  Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype             1.33.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme     1.33.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-normalizer   1.33.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring          1.33.0 Symfony polyfill for the Mbstring extension
symfony/process                    7.4.3  Executes commands in sub-processes
symfony/service-contracts          3.6.1  Generic abstractions related to writing services
symfony/string                     7.4.0  Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme c...
symfony/var-exporter               7.4.0  Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                       7.4.1  Loads and dumps YAML files

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions