Commit Graph

6 Commits

Author SHA1 Message Date
Christoph Wurst cdcd61d4c8
Use empty for the OCP @since checker
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-09 08:49:24 +02:00
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
Joas Schilling a1b87bc81e
Update PHP-Parser for 7.1 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 20:04:17 +01:00
Thomas Müller aa10231027
$this->blackListedClassNames is unknown 2016-09-07 22:09:08 +02:00
Morris Jobke 4efbf12fb8 Implement OCP Since Check for classes and interfaces 2015-07-27 10:49:45 +02:00
Morris Jobke b230b8e2c6 move the OCPSinceChecker.php to build/ 2015-06-19 11:03:09 +02:00