![server address license webstorm server address license webstorm](https://resources.jetbrains.com/help/img/idea/2022.2/license_server_settings.png)
Select the Remote PHP interpreter as setup for MediaWiki-Vagrant, check Manual:How to debug/with MediaWiki-Vagrant and PHPStorm and MediaWiki-Vagrant/Advanced usage#PhpStorm if you haven't yet.Create a code sniffer configuration by clicking on "+" in the Code Sniffer panel.This replaces step 3 from the section above. Select "Custom" as the "Coding standard", then from "." choose the ruleset.xml file that's located in vendor/mediawiki/mediawiki-codesniffer/MediaWiki.Go to Settings > Inspections and look for "PHP Code Sniffer validation" under PHP.Click on "Validate" to ensure the binary loads properly. Click on ".", and browse to the vendor/bin directory and select phpcs.Next to "Configuration" click on the ".", opening up the Code Sniffer panel.Go to Settings > PHP > Quality Tools -> Code Sniffer.You can also integrate PHP Codesniffer (PHPCS) into PhpStorm and similar products, so that phpcs errors will be shown in real-time.Īssuming you're working within the root of the core MediaWiki project (from which you can also work on extensions): To do this, select "Reformat Code" from the Code menu. With this, you can auto-format your code to conform to the standards. Installing PhpStorm or WebStorm separately has its benefits. If you wish to test bleeding edge features, IntelliJ IDEA Ultimate and other standalone products have separate release rhythms. However, as all products are included anyway, you can choose the product you like the most, if you have one. If you plan to contribute to projects other than the PHP-based ones in MediaWiki, it probably would be a benefit, that you already use the "non-plus-ultra" product. You probably heard from this page because someone suggested you to use PhpStorm.Įven if this isn't false, and PhpStorm is a good product, we would like to encourage you to choose the IntelliJ IDEA Ultimate, which includes some more features and language support compared to PhpStorm. Some products share some functionality, so it can be difficult to choose the correct product. Like mentioned above, the MediaWiki open source project owns licenses for the All products pack of JetBrains, which includes all desktop products (like PhpStorm, IntelliJ IDEA Ultimate, Webstorm and so on). "Why do you want a license?").īut don't hesitate and simply ask us if you can get a license :)
![server address license webstorm server address license webstorm](https://i.ytimg.com/vi/NOsk5ToidFY/maxresdefault.jpg)
![server address license webstorm server address license webstorm](https://cdn.advancedinstaller.com/img/dialog/license-server-config.png)
over a year or so), we may ask you some questions (e.g. However, if you've never contributed code to our projects or your last change was a reasonable time ago (e.g. There are no big things you need to accomplish (such as a specific amount of changes per day or something else, that would be ridiculous, as we're thankful for anything you do for our projects!). This means that we'll check if you're an active contributor to one of our projects before sending you an invitation link. Please note that we have a limited number of licenses only, and even if we're sure that you can get a license, we want to make sure that the people who actively contribute code to one of our projects can benefit from the license. You'll get an e-mail with an invitation link for one of our licenses which, when clicked, will connect a license with your JetBrains account (if you don't have one yet, you'll need to create one). Florian Schmidt (FlorianSW in #wikimedia-dev connect, gmail com).Sam Reed (reedy in #wikimedia-dev connect, sreed wikimedia org).To request a license, simply write an e-mail or contact one of the account administrators via IRC: