ikappas / vscode-phpcs

PHP CodeSniffer for Visual Studio Code
MIT License
128 stars 56 forks source link

Complains even when expected & found filename is the same #133

Open sebbes333 opened 6 years ago

sebbes333 commented 6 years ago

Error: Class file names should be based on the class name with "class-" prepended. Expected class-wpi-wpdb.php, but found class-wpi-wbdb.php.

File name: class-wpi-wbdb.php

Code in file:

<?php
class Wpi_Wpdb {
}

class-wpi-wpdb.php <--- EXPECTED class-wpi-wbdb.php <--- FOUND Difference = 0%