mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:08:59 +01:00
Move around files
This commit is contained in:
parent
73adf72434
commit
6b5ba25354
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,4 +1,5 @@
|
|||||||
tests/ export-ignore
|
tests/ export-ignore
|
||||||
|
tools/ export-ignore
|
||||||
extracted.json export-ignore
|
extracted.json export-ignore
|
||||||
README.md export-ignore
|
README.md export-ignore
|
||||||
CHANGELOG.md export-ignore
|
CHANGELOG.md export-ignore
|
||||||
|
@ -99,7 +99,8 @@
|
|||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"danog\\MadelineProto\\Test\\": "tests/danog/MadelineProto"
|
"danog\\MadelineProto\\Test\\": "tests/danog/MadelineProto",
|
||||||
|
"danog\\MadelineProto\\": "tools/"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"tools/build_docs/schemas.php",
|
"tools/build_docs/schemas.php",
|
||||||
|
@ -15,9 +15,6 @@
|
|||||||
<directory name="src" />
|
<directory name="src" />
|
||||||
<ignoreFiles>
|
<ignoreFiles>
|
||||||
<directory name="vendor" />
|
<directory name="vendor" />
|
||||||
<file name="src/DocsBuilder.php" />
|
|
||||||
<file name="src/DocsBuilder/Methods.php" />
|
|
||||||
<file name="src/DocsBuilder/Constructors.php" />
|
|
||||||
<!-- FFI psalm bug -->
|
<!-- FFI psalm bug -->
|
||||||
<file name="src/Ogg.php" />
|
<file name="src/Ogg.php" />
|
||||||
</ignoreFiles>
|
</ignoreFiles>
|
||||||
|
2
schemas
2
schemas
@ -1 +1 @@
|
|||||||
Subproject commit 5bf936239e21cb2e2c028a828bff7c3b75be9995
|
Subproject commit c23c18b720a3b705069bb0ce947d65898bd9f397
|
@ -63,7 +63,7 @@ final class AnnotationsBuilder
|
|||||||
$this->blacklistHard = $this->blacklist;
|
$this->blacklistHard = $this->blacklist;
|
||||||
unset($this->blacklistHard['messages.getHistory'], $this->blacklistHard['channels.getMessages'], $this->blacklistHard['messages.getMessages'], $this->blacklistHard['updates.getDifference'], $this->blacklistHard['updates.getChannelDifference'], $this->blacklistHard['updates.getState']);
|
unset($this->blacklistHard['messages.getHistory'], $this->blacklistHard['channels.getMessages'], $this->blacklistHard['messages.getMessages'], $this->blacklistHard['updates.getDifference'], $this->blacklistHard['updates.getChannelDifference'], $this->blacklistHard['updates.getState']);
|
||||||
|
|
||||||
file_put_contents(__DIR__.'/Namespace/Blacklist.php', '<?php
|
file_put_contents(__DIR__.'/../src/Namespace/Blacklist.php', '<?php
|
||||||
namespace danog\MadelineProto\Namespace;
|
namespace danog\MadelineProto\Namespace;
|
||||||
|
|
||||||
final class Blacklist {
|
final class Blacklist {
|
||||||
@ -557,7 +557,7 @@ final class Blacklist {
|
|||||||
}
|
}
|
||||||
foreach ($internalDoc as $namespace => $methods) {
|
foreach ($internalDoc as $namespace => $methods) {
|
||||||
if ($namespace === 'InternalDoc') {
|
if ($namespace === 'InternalDoc') {
|
||||||
$handle = fopen(__DIR__.'/InternalDoc.php', 'w');
|
$handle = fopen(__DIR__.'/../src/InternalDoc.php', 'w');
|
||||||
fwrite($handle, "<?php\n");
|
fwrite($handle, "<?php\n");
|
||||||
fwrite($handle, "/**\n");
|
fwrite($handle, "/**\n");
|
||||||
fwrite($handle, " * This file is automatically generated by the build_docs.php file\n");
|
fwrite($handle, " * This file is automatically generated by the build_docs.php file\n");
|
||||||
@ -618,7 +618,7 @@ final class Blacklist {
|
|||||||
fwrite($handle, "}\n");
|
fwrite($handle, "}\n");
|
||||||
} else {
|
} else {
|
||||||
$namespace = ucfirst($namespace);
|
$namespace = ucfirst($namespace);
|
||||||
$handle = fopen(__DIR__."/Namespace/$namespace.php", 'w');
|
$handle = fopen(__DIR__."/../src/Namespace/$namespace.php", 'w');
|
||||||
fwrite($handle, "<?php\n");
|
fwrite($handle, "<?php\n");
|
||||||
fwrite($handle, "/**\n");
|
fwrite($handle, "/**\n");
|
||||||
fwrite($handle, " * This file is automatic generated by build_docs.php file\n");
|
fwrite($handle, " * This file is automatic generated by build_docs.php file\n");
|
||||||
@ -636,7 +636,7 @@ final class Blacklist {
|
|||||||
}
|
}
|
||||||
fclose($handle);
|
fclose($handle);
|
||||||
|
|
||||||
$handle = fopen(__DIR__.'/EventHandler/SimpleFilters.php', 'w');
|
$handle = fopen(__DIR__.'/../src/EventHandler/SimpleFilters.php', 'w');
|
||||||
fwrite($handle, "<?php\n");
|
fwrite($handle, "<?php\n");
|
||||||
fwrite($handle, "/**\n");
|
fwrite($handle, "/**\n");
|
||||||
fwrite($handle, " * This file is automatically generated by the build_docs.php file\n");
|
fwrite($handle, " * This file is automatically generated by the build_docs.php file\n");
|
Loading…
Reference in New Issue
Block a user