FriendsOfSymfony1 / symfony1

[DEPRECATED -- Use Symfony instead] Fork of symfony 1.4 with DIC, form enhancements, latest Swiftmailer, better performance, composer compatible and PHP 8 support
https://symfony.com/legacy
MIT License
338 stars 176 forks source link

[QA] added phpstan dist config #312

Open connorhu opened 8 months ago

thePanz commented 6 months ago

@connorhu I added something like this to exclude files not relevant for phpstan

parameters:
    excludePaths:
        analyse:
            - lib/vendor/swiftmailer/
            - lib/task/symfony/lime_symfony.php
            - lib/task/symfony/sfSymfonyTestTask.class.php
            - lib/task/generator/skeleton/
            # Templates for errors
            - lib/exception/data/
            # Templates for classes
            - lib/plugins/sfDoctrinePlugin/data/generator/
            - lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/
            # Templates for application
            - lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/
connorhu commented 6 months ago

@thePanz Thank you! Updated the config. Should we do the same as doctrine1? (php7.4 and php8.3 simultan tests)