Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop legacy procedural files #7270

Merged
merged 1 commit into from Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -82,7 +82,6 @@
"Psalm\\": "src/Psalm/"
},
"files": [
"src/functions.php",
"src/spl_object_id.php"
]
},
Expand Down
2 changes: 2 additions & 0 deletions psalm
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

namespace Psalm;

use Psalm\Internal\Cli\Psalm;

require_once __DIR__ . '/src/Psalm/Internal/Cli/Psalm.php';
Expand Down
25 changes: 0 additions & 25 deletions psalm-baseline.xml
Expand Up @@ -367,31 +367,6 @@
<code>$type[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/psalm-language-server.php">
<InternalMethod occurrences="1">
<code>LanguageServer::run($argv)</code>
</InternalMethod>
</file>
<file src="src/psalm-refactor.php">
<InternalMethod occurrences="1">
<code>Refactor::run($argv)</code>
</InternalMethod>
</file>
<file src="src/psalm.php">
<InternalMethod occurrences="1">
<code>Psalm::run($argv)</code>
</InternalMethod>
</file>
<file src="src/psalm_plugin.php">
<InternalMethod occurrences="1">
<code>Plugin::run()</code>
</InternalMethod>
</file>
<file src="src/psalter.php">
<InternalMethod occurrences="1">
<code>Psalter::run($argv)</code>
</InternalMethod>
</file>
<file src="vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php">
<PossiblyUndefinedStringArrayOffset occurrences="1">
<code>$subNodes['expr']</code>
Expand Down
2 changes: 2 additions & 0 deletions psalm-language-server
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

namespace Psalm;

use Psalm\Internal\Cli\LanguageServer;

require_once __DIR__ . '/src/Psalm/Internal/Cli/LanguageServer.php';
Expand Down
2 changes: 2 additions & 0 deletions psalm-plugin
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

namespace Psalm;

use Psalm\Internal\Cli\Plugin;

require_once __DIR__ . '/src/Psalm/Internal/Cli/Plugin.php';
Expand Down
2 changes: 2 additions & 0 deletions psalm-refactor
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

namespace Psalm;

use Psalm\Internal\Cli\Refactor;

require_once __DIR__ . '/src/Psalm/Internal/Cli/Refactor.php';
Expand Down
5 changes: 5 additions & 0 deletions psalm.xml.dist
Expand Up @@ -25,6 +25,11 @@
<directory name="src"/>
<directory name="tests"/>
<directory name="examples"/>
<file name="psalm"/>
<file name="psalm-language-server"/>
<file name="psalm-plugin"/>
<file name="psalm-refactor"/>
<file name="psalter"/>
<ignoreFiles>
<file name="src/Psalm/Internal/PhpTraverser/CustomTraverser.php"/>
<file name="tests/ErrorBaselineTest.php"/>
Expand Down
2 changes: 2 additions & 0 deletions psalter
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

namespace Psalm;

use Psalm\Internal\Cli\Psalter;

require_once __DIR__ . '/src/Psalm/Internal/Cli/Psalter.php';
Expand Down
88 changes: 0 additions & 88 deletions src/command_functions.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/functions.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/psalm-language-server.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/psalm-refactor.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/psalm.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/psalm_plugin.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/psalter.php

This file was deleted.