-
The end of life for php 7 security support is November 28th 2022: https://www.php.net/supported-versions.php
I will be upgrade the servers to php 8.1. in the next few days. I will begin by upgradin…
-
The `new` keyword should not be used to instantiate new classes. Constructor DI needs to be used instead.
-
In order to effectively use the script we need to add exit code. What's the best way to enumerate number of errors (not violations!)?
drdev updated
12 years ago
-
Just suggestion: I think It would be nice and more cleaner if the code will be formatted using PSR2.
-
Related: #584
Our checks via Travis CI are quite strict about coding standards. On one hand this is good because it forces us two write _nice_ code but on the other hand it's annoying when it affe…
-
There is a [core ticket #12563](https://core.trac.wordpress.org/ticket/12563) open for creating an action that the theme invokes when the body tag is output.
The proposal is a function call, but si…
-
I've found that it's hard introduce PHP_CodeSniffer to old projects because it finds a lot of issues that can't be fixed at once.
Currently, as a workaround I use something like this (the code is con…
-
### Verification
- [X] I have updated Composer to the most recent stable release (`composer self-update`)
- [X] I have updated Composer Patches to the most recent stable release (`composer update cwe…
-
The theme template files are supposed to be loaded with core functions. When they are, the variables used in them are not global, so do not need to be prefixed.
Each line with a variable is generat…
-
My `composer.json`:
```json
{
"name": "mediawiki/core",
"description": "Free software wiki application developed by the Wikimedia Foundation and others",
"version": "1.4…