Download the PHP package brzuchal/stop-the-war without Composer
On this page you can find all versions of the php package brzuchal/stop-the-war. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brzuchal/stop-the-war
More information about brzuchal/stop-the-war
Files in brzuchal/stop-the-war
Package stop-the-war
Short Description PHP_CodeSniffer rule adding non-collapsable comment calling out to stop wars
License MIT
Informations about the package stop-the-war
StopTheWar
A message to Russian 🇷🇺 people
If you currently live in Russia, please read this message.
Purpose
A Stop The War sniff adding non-collapsable comment calling to stop the wars in source code files.
Install
Usage
Basic usage just adds general #StopTheWar
comment, a minimum setup requirement is to include StopTheWar
rule, as follows:
Results in adding stop war comment with no additional text, as follows:
However, if you'd like to promote any kind of extended comment define rule property called commentExtension
, as for eg.:
Results in adding comment in front of every class, interface, trait, enum as follows:
License
MIT License
Copyright (c) 2022 Michał Marcin Brzuchalski
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of stop-the-war with dependencies
dealerdirect/phpcodesniffer-composer-installer Version ^0.6.2 || ^0.7
squizlabs/php_codesniffer Version ^3.5.6