Skip to content

Conversation

@Firehed
Copy link
Contributor

@Firehed Firehed commented Feb 6, 2026

echo "Generating strict PSR12 code styling error report for src directory "
cd /var/www/localhost/htdocs/openemr
composer phpcs -- --standard=PSR12 -d memory_limit=4G --extensions=php,inc -p -n src
composer phpcs -- --standard=PSR12 -d memory_limit=4G -p -n src
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to set memory_limit here? Isn't it in the composer line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, unfortunately --standard overrides the phpcs.xml.dist file outright.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well isn't that a fine thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants