Skip to content

Commit c9a27d5

Browse files
committed
Trigger autoloader for the class aliases
Not pretty, but meh...
1 parent aa9f058 commit c9a27d5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

compat/class-aliases.php

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
class_exists(\Lcobucci\JWT\Token\Plain::class);
4+
class_exists(\Lcobucci\JWT\Token\Signature::class);
5+

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"Lcobucci\\JWT\\": "src"
3434
},
3535
"files": [
36+
"compat/class-aliases.php",
3637
"compat/json-exception-polyfill.php",
3738
"compat/lcobucci-clock-polyfill.php"
3839
]

0 commit comments

Comments
 (0)