1717 (new Finder ('./docs ' ))
1818 ->includeName ('*.png ' )
1919 ->includeName ('*.jpg ' )
20+ ->excludeWholeName ('./docs/release_notes/* ' )//TMP
2021 ->find (),
2122);
2223
@@ -29,6 +30,7 @@ function (string $url, ?string $file = null): bool {
2930 function (string $ url , ?string $ file = null ): bool {
3031 // ibexa.co APIs needing authentication, namespaces, commercial aliases, etc.
3132 return str_starts_with ($ url , 'https://updates.ibexa.co ' ) // 401
33+ || str_starts_with ($ url , 'https://flex.ibexa.co ' ) // 404
3234 || str_starts_with ($ url , 'https://support.ibexa.co ' ) // 302 → /login
3335 || str_starts_with ($ url , 'https://connect.ibexa.co ' ) // 302 → https://ibexa.integromat.celonis.com/
3436 || str_starts_with ($ url , 'http://ibexa.co/namespaces/ ' ) // 301
@@ -100,6 +102,9 @@ function (string $url, ?string $file = null): bool {
100102 },
101103 ],
102104 'location ' => [
105+ function (string $ url , string $ location , ?string $ file = null ): bool {
106+ return str_starts_with ($ url , 'https://issues.ibexa.co/ ' ) && str_starts_with ($ location , 'https://issues.ibexa.co/login.jsp ' );
107+ },
103108 function (string $ url , string $ location , ?string $ file = null ): bool {
104109 return $ url === $ location && str_starts_with ($ url , 'https://twitter.com/ ' );
105110 },
@@ -126,6 +131,9 @@ function (string $url, ?string $file = null): bool {
126131 return str_starts_with ($ url , 'https://classic.yarnpkg.com/en/docs/ ' )
127132 || str_starts_with ($ url , 'https://ddev.readthedocs.io/ ' );
128133 },
134+ function (string $ url , ?string $ file = null ): bool {
135+ return $ url == 'https://www.paypal.com/bizsignup/#/singlePageSignup ' ;
136+ }
129137 ],
130138]);
131139
0 commit comments