You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm putting all of my configuration into the ruleset.xml file (it's actually phpcs.xml so the docs should probably be updated) which has been great so far. However, I can't seem to set php.ini values in there because the format is -d key=value but <arg name="d" value="key=value" /> spits out an argument like --d=key=value which is invalid. I'm specifically trying to increase the memory limit because it doesn't work on my project otherwise.
Is there a way to set php.ini values from the xml file?
The text was updated successfully, but these errors were encountered:
Is there a way to set php.ini values from the xml file?
Not yet. I'll look at adding one using a custom tag.
it's actually phpcs.xml so the docs should probably be updated
The name isn't important for ruleset files unless you are not actually telling PHPCS where to find the ruleset. In that case, it will look for one called phpcs.xml in the current directory. All ruleset files have exactly the same format.
I'm putting all of my configuration into the ruleset.xml file (it's actually
phpcs.xml
so the docs should probably be updated) which has been great so far. However, I can't seem to setphp.ini
values in there because the format is-d key=value
but<arg name="d" value="key=value" />
spits out an argument like--d=key=value
which is invalid. I'm specifically trying to increase the memory limit because it doesn't work on my project otherwise.Is there a way to set
php.ini
values from the xml file?The text was updated successfully, but these errors were encountered: