[myproject] cat phpstan.neon implements/larastan ✭ ✱ includes: - ./vendor/nunomaduro/larastan/extension.neon parameters: paths: - app level: 0 ignoreErrors: - '#Unsafe usage of new static#' checkMissingIterableValueType: false [myproject] cat grumphp.yml implements/larastan ✭ ✱ parameters: tasks: phpstan: level: 0 [myproject] ./vendor/bin/phpstan analyse implements/larastan ✭ ✱ Note: Using configuration file /home/alysson/PhpstormProjects/myproject/phpstan.neon. 87/87 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% [OK] No errors [myproject] ./vendor/bin/grumphp run implements/larastan ✭ ✱ GrumPHP is sniffing your code! Running task 1/1: phpstan... ✘ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▄███▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ █▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▐█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▀█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▀▀▓▓▓▓▓▓▓▓▓▓▓▓█▀▀▀▀▀▀▀▀▀▀▀▀▀▀████████████▄ ▄███████ ██████████ ███████▀ ▀▀▀▀▀▄ ▄▀▀▀▀▀ █████ ▀ ▐████ ▐██ ▐██ ████▌ ████▌ ███ ▌██▌ ▄▄ ▄▄ ▐███ ███ ▄▄▄▄▄▄▄▄▄▄▄▄ ▐███ ██▄ ▐███████████████████████████ █▀███████████▀ ▀▀███████████ ██████████▄███████▄███████████ ▐█████████████████████████████ █████████████████████████████ ██ █████████████████████▐██▀ ▀ ▐███████████████████▌ ▐▀ ████▀████████▀▐███ ▀█▌ ▐█████ ██▌ ██▀ ▐▀ ██████████████████████████████████ █░░░░░░▀█▀░░░░░░▀█░░░░░░▀█▀░░░░░▀█ █░░▐█▌░░█░░░██░░░█░░██░░░█░░░██░░█ █░░▐█▌░░█░░░██░░░█░░██░░░█░░░██░░█ █░░▐█▌░░█░░░██░░░█░░░░░░▄█░░▄▄▄▄▄█ █░░▐█▌░░█░░░██░░░█░░░░████░░░░░░░█ █░░░█░░░█▄░░░░░░▄█░░░░████▄░░░░░▄█ ██████████████████████████████████ ------ ------------------------------------------------------ Line config/database.php ------ ------------------------------------------------------ 62 Access to undefined constant PDO::MYSQL_ATTR_SSL_CA. ------ ------------------------------------------------------ ------ --------------------------------------------------------------------- Line database/factories/PostFactory.php ------ --------------------------------------------------------------------- 10 Undefined variable: $factory 11 Called 'pluck' on Laravel collection, but could have been retrieved as a query. ------ --------------------------------------------------------------------- ------ --------------------------------------------------------------------- Line database/factories/ThreadFactory.php ------ --------------------------------------------------------------------- 12 Undefined variable: $factory 13 Called 'pluck' on Laravel collection, but could have been retrieved as a query. 17 Called 'pluck' on Laravel collection, but could have been retrieved as a query. ------ --------------------------------------------------------------------- ------ ------------------------------------ Line database/factories/UserFactory.php ------ ------------------------------------ 21 Undefined variable: $factory ------ ------------------------------------ ------ ------------------------------ Line routes/console.php ------ ------------------------------ 17 Undefined variable: $this 17 Using $this outside a class. ------ ------------------------------ [ERROR] Found 9 errors Note: Using configuration file /home/alysson/PhpstormProjects/myproject/phpstan.neon. To skip commit checks, add -n or --no-verify flag to commit command