From 8c7968667d5927ddcc66d43bcfda6a79444c86ce Mon Sep 17 00:00:00 2001 From: Maurice Renck Date: Wed, 18 Sep 2024 12:03:38 +0200 Subject: [PATCH] fix: updates --- composer.lock | 550 +++++++++--------- index.js | 2 +- vendor/composer/autoload_classmap.php | 27 +- vendor/composer/autoload_psr4.php | 2 +- vendor/composer/autoload_static.php | 29 +- vendor/composer/installed.php | 68 +-- vendor/composer/platform_check.php | 4 +- .../guzzlehttp/guzzle/src/BodySummarizer.php | 6 +- vendor/guzzlehttp/guzzle/src/Client.php | 4 +- .../guzzlehttp/guzzle/src/ClientInterface.php | 2 +- .../guzzle/src/Cookie/CookieJar.php | 4 +- .../guzzle/src/Cookie/CookieJarInterface.php | 2 +- .../guzzle/src/Cookie/SetCookie.php | 4 +- .../src/Exception/BadResponseException.php | 2 +- .../guzzle/src/Exception/ConnectException.php | 2 +- .../guzzle/src/Exception/RequestException.php | 28 +- .../guzzle/src/Handler/CurlFactory.php | 136 ++++- .../guzzle/src/Handler/CurlMultiHandler.php | 17 + .../guzzle/src/Handler/MockHandler.php | 8 +- .../guzzle/src/Handler/StreamHandler.php | 12 +- vendor/guzzlehttp/guzzle/src/HandlerStack.php | 6 +- .../guzzle/src/MessageFormatter.php | 2 +- .../guzzle/src/MessageFormatterInterface.php | 2 +- vendor/guzzlehttp/guzzle/src/Middleware.php | 6 +- .../guzzle/src/PrepareBodyMiddleware.php | 4 +- .../guzzlehttp/guzzle/src/RequestOptions.php | 6 +- .../guzzlehttp/guzzle/src/RetryMiddleware.php | 4 +- .../guzzlehttp/guzzle/src/TransferStats.php | 4 +- vendor/guzzlehttp/guzzle/src/Utils.php | 19 +- vendor/guzzlehttp/promises/src/Coroutine.php | 4 +- vendor/guzzlehttp/promises/src/Each.php | 17 +- .../guzzlehttp/promises/src/EachPromise.php | 8 +- .../promises/src/FulfilledPromise.php | 4 +- vendor/guzzlehttp/promises/src/Promise.php | 8 +- .../promises/src/PromiseInterface.php | 4 +- .../promises/src/RejectedPromise.php | 4 +- vendor/guzzlehttp/promises/src/Utils.php | 2 +- vendor/guzzlehttp/psr7/src/CachingStream.php | 2 +- vendor/guzzlehttp/psr7/src/FnStream.php | 33 +- vendor/guzzlehttp/psr7/src/Header.php | 2 +- vendor/guzzlehttp/psr7/src/HttpFactory.php | 6 +- vendor/guzzlehttp/psr7/src/InflateStream.php | 8 +- vendor/guzzlehttp/psr7/src/Message.php | 8 +- vendor/guzzlehttp/psr7/src/MessageTrait.php | 8 +- .../guzzlehttp/psr7/src/MultipartStream.php | 22 +- vendor/guzzlehttp/psr7/src/PumpStream.php | 6 +- vendor/guzzlehttp/psr7/src/Query.php | 19 +- vendor/guzzlehttp/psr7/src/Request.php | 4 +- vendor/guzzlehttp/psr7/src/Response.php | 4 +- vendor/guzzlehttp/psr7/src/ServerRequest.php | 2 +- vendor/guzzlehttp/psr7/src/Stream.php | 4 +- .../psr7/src/StreamDecoratorTrait.php | 2 +- vendor/guzzlehttp/psr7/src/StreamWrapper.php | 40 +- vendor/guzzlehttp/psr7/src/UploadedFile.php | 8 +- vendor/guzzlehttp/psr7/src/Uri.php | 30 +- vendor/guzzlehttp/psr7/src/UriNormalizer.php | 10 +- vendor/guzzlehttp/psr7/src/UriResolver.php | 6 +- vendor/guzzlehttp/psr7/src/Utils.php | 22 +- .../src/UploadedFileFactoryInterface.php | 12 +- .../Factory/AccountingAccountFactory.php | 2 + .../accounting/Factory/BankDetailsFactory.php | 2 + .../Factory/PaymentChoiceFactory.php | 2 + .../accounting/Factory/PaymentTermFactory.php | 2 + .../src/accounting/Factory/VatRateFactory.php | 2 + .../accounting/Model/AccountingAccount.php | 3 + .../Model/AccountingAccountInterface.php | 6 +- .../src/accounting/Model/BankDetails.php | 3 + .../accounting/Model/BankDetailsInterface.php | 2 + .../src/accounting/Model/PaymentChoice.php | 3 + .../Model/PaymentChoiceInterface.php | 2 + .../src/accounting/Model/PaymentTerm.php | 3 + .../accounting/Model/PaymentTermInterface.php | 2 + .../src/accounting/Model/VatRate.php | 3 + .../src/accounting/Model/VatRateInterface.php | 2 + .../accounting/Serializer/JsonSerializer.php | 12 +- .../accounting/Serializer/SerializerKeys.php | 24 +- .../src/adoria/Api/ApiProviderInterface.php | 6 +- .../core-library/src/adoria/Model/Line.php | 2 + .../src/adoria/Model/RequestData.php | 2 + .../core-library/src/adoria/Model/Result.php | 2 + .../src/adoria/Provider/ApiProvider.php | 4 +- .../adoria/Serializer/RequestSerializer.php | 6 +- .../Serializer/ResponseDeserializer.php | 4 +- .../billing/Factory/BillableDetailFactory.php | 2 + .../src/billing/Factory/BillableFactory.php | 2 + .../billing/Factory/BillingAddressFactory.php | 2 + .../Factory/DeliveryAddressFactory.php | 2 + .../billing/Factory/DeliveryNoteFactory.php | 2 + .../billing/Factory/PurchaseBillFactory.php | 2 + .../billing/Factory/PurchaseOrderFactory.php | 2 + .../src/billing/Factory/QuotationFactory.php | 2 + .../src/billing/Factory/SalesBillFactory.php | 2 + .../billing/Factory/SendingAddressFactory.php | 2 + .../src/billing/Factory/TaxableFactory.php | 2 + .../billing/Helper/BillableDetailHelper.php | 2 + .../src/billing/Helper/BillableHelper.php | 2 + .../src/billing/Helper/TaxableHelper.php | 2 + .../src/billing/Model/Billable.php | 7 +- .../src/billing/Model/BillableDetail.php | 3 + .../billing/Model/BillableDetailInterface.php | 2 + .../src/billing/Model/BillableInterface.php | 2 + .../billing/Model/BillingAddressInterface.php | 2 + .../src/billing/Model/BillingAddressTrait.php | 2 + .../Model/DeliveryAddressInterface.php | 2 + .../billing/Model/DeliveryAddressTrait.php | 2 + .../src/billing/Model/DeliveryNote.php | 3 + .../billing/Model/DeliveryNoteInterface.php | 2 + .../src/billing/Model/PurchaseBill.php | 3 + .../billing/Model/PurchaseBillInterface.php | 2 + .../src/billing/Model/PurchaseOrder.php | 3 + .../billing/Model/PurchaseOrderInterface.php | 2 + .../src/billing/Model/Quotation.php | 3 + .../src/billing/Model/QuotationInterface.php | 2 + .../src/billing/Model/SalesBill.php | 3 + .../src/billing/Model/SalesBillInterface.php | 2 + .../billing/Model/SendingAddressInterface.php | 2 + .../src/billing/Model/SendingAddressTrait.php | 2 + .../src/billing/Model/Taxable.php | 3 + .../src/billing/Model/TaxableInterface.php | 2 + .../src/billing/Serializer/JsonSerializer.php | 24 +- .../src/billing/Serializer/SerializerKeys.php | 44 +- .../src/core/Exception/AbstractException.php | 2 + .../src/core/Helper/ArchiveHelper.php | 4 +- .../core-library/src/core/Helper/OSHelper.php | 2 + .../src/core/Model/AbstractNode.php | 19 +- .../src/core/Model/CivilityInterface.php | 10 +- .../core-library/src/core/Model/Cpu.php | 3 + .../src/core/Model/MaritalStatusInterface.php | 14 +- .../core-library/src/core/Model/Memory.php | 3 + .../src/curl/Api/RequestInterface.php | 24 +- .../src/curl/Api/ResponseInterface.php | 170 +++--- .../src/curl/Configuration/Configuration.php | 10 +- .../src/curl/Exception/AbstractException.php | 2 + .../Exception/InvalidArgumentException.php | 2 + .../Exception/MethodNotAllowedException.php | 2 + .../curl/Exception/RequestCallException.php | 2 + .../src/curl/Factory/CurlFactory.php | 2 + .../src/curl/Helper/CurlHelper.php | 4 +- .../src/curl/Request/AbstractRequest.php | 46 +- .../src/curl/Request/DeleteRequest.php | 2 + .../src/curl/Request/GetRequest.php | 2 + .../src/curl/Request/HeadRequest.php | 2 + .../src/curl/Request/OptionsRequest.php | 2 + .../src/curl/Request/PatchRequest.php | 2 + .../src/curl/Request/PostRequest.php | 2 + .../src/curl/Request/PutRequest.php | 2 + .../src/curl/Response/Response.php | 14 +- .../Connector/AbstractDatabaseConnector.php | 10 +- .../MicrosoftAccessDatabaseConnector.php | 4 +- .../MicrosoftSQLServerDatabaseConnector.php | 4 +- .../OracleMySQLDatabaseConnector.php | 4 +- .../src/database/Helper/PaginateHelper.php | 2 + .../dropdown/Factory/DropdownItemFactory.php | 2 + .../dropdown/Helper/DropdownItemHelper.php | 2 + .../src/dropdown/Model/DropdownItem.php | 3 + .../dropdown/Model/DropdownItemInterface.php | 2 + .../dropdown/Serializer/JsonSerializer.php | 4 +- .../dropdown/Serializer/SerializerKeys.php | 4 +- .../src/ftp/Client/AbstractClient.php | 2 + .../core-library/src/ftp/Client/FtpClient.php | 6 +- .../src/ftp/Client/FtpsClient.php | 2 + .../src/ftp/Client/SftpClient.php | 4 +- .../src/ftp/Exception/FtpException.php | 2 + .../src/image/Factory/ImageFactory.php | 2 + .../src/image/Helper/ImageHelper.php | 2 + .../core-library/src/image/Model/Image.php | 2 + .../src/image/Model/ImageInterface.php | 10 +- .../src/image/Utility/ImageUtility.php | 4 +- .../core-library/src/logger/LoggerTrait.php | 2 + .../core-library/src/logger/NullLogger.php | 2 + .../src/logger/TerminalLogger.php | 3 + .../src/maths/Helper/FibonacciHelper.php | 2 + .../src/maths/Helper/IntegerHelper.php | 4 +- .../src/maths/Helper/LuhnAlgorithmHelper.php | 4 +- .../src/maths/Helper/NirHelper.php | 6 +- .../src/maths/Helper/PascalTriangleHelper.php | 2 + .../src/maths/Helper/Rot13Helper.php | 2 + .../src/maths/Helper/Rot47Helper.php | 2 + .../src/ocrlad/Geometry/Angle.php | 6 +- .../core-library/src/ocrlad/Geometry/Line.php | 2 + .../src/ocrlad/Geometry/Point.php | 2 + .../src/ocrlad/Helper/DocumentHelper.php | 2 + .../src/ocrlad/Helper/WordHelper.php | 2 + .../src/ocrlad/Model/Document.php | 2 + .../core-library/src/ocrlad/Model/IOFile.php | 2 + .../core-library/src/ocrlad/Model/Page.php | 2 + .../core-library/src/ocrlad/Model/Word.php | 6 +- .../src/ocrlad/Provider/OcrProvider.php | 8 +- .../src/ocrlad/Provider/OcrProviderTrait.php | 2 + .../src/ocrlad/Serializer/DerDeserializer.php | 11 +- .../ocrlad/Traits/Arrays/ArrayWordsTrait.php | 2 + .../src/planning/Helper/TimeSlotFunctor.php | 2 + .../src/planning/Helper/TimeSlotHelper.php | 2 + .../src/planning/Model/TimeSlot.php | 2 + .../src/provider/AbstractProvider.php | 4 +- .../Api/SubstituableRequestInterface.php | 4 +- .../src/provider/Exception/ApiException.php | 2 + .../src/provider/Helper/GuzzleHelper.php | 2 + .../src/provider/Request/AbstractRequest.php | 2 + .../provider/Response/AbstractResponse.php | 2 + .../Model/Proprete/AbsEmpRemplacants.php | 2 + .../Model/Proprete/AbsencesCpPrevRempl.php | 2 + .../Model/Proprete/AbsencesCpPrevisionnel.php | 2 + .../Model/Proprete/AbsencesEmploye.php | 2 + .../Model/Proprete/AbsencesEntete.php | 2 + .../Model/Proprete/AdressesLivraison.php | 2 + .../src/quadratus/Model/Proprete/Affaires.php | 2 + .../Proprete/AffectationEmployeChantier.php | 2 + .../Model/Proprete/AffectationMateriel.php | 2 + .../Model/Proprete/AffectationsCharge.php | 2 + .../quadratus/Model/Proprete/ArtVarDepot.php | 2 + .../Model/Proprete/ArticleFournisseur.php | 2 + .../Model/Proprete/ArticleVariantes.php | 2 + .../src/quadratus/Model/Proprete/Articles.php | 2 + .../quadratus/Model/Proprete/ArticlesFrn.php | 2 + .../Model/Proprete/ArticlesFrnPrixA.php | 2 + .../Model/Proprete/ArticlesPrevention.php | 2 + .../Model/Proprete/ArticlesRisques.php | 2 + .../Model/Proprete/AttestationFiscale.php | 2 + .../Model/Proprete/AvenantsContrats.php | 2 + .../Proprete/AvenantsContratsChantiers.php | 2 + .../Model/Proprete/AvenantsPrepares.php | 2 + .../src/quadratus/Model/Proprete/BlEntete.php | 2 + .../Model/Proprete/BonInterneEntete.php | 2 + .../quadratus/Model/Proprete/BonTravPrev.php | 2 + .../quadratus/Model/Proprete/BonsTravaux.php | 2 + .../Model/Proprete/BonsTravauxEmployes.php | 2 + .../Proprete/BonsTravauxInterventions.php | 2 + .../src/quadratus/Model/Proprete/BrEntete.php | 2 + .../Model/Proprete/CdeClientEntete.php | 2 + .../Model/Proprete/CdeClientLigne.php | 2 + .../Model/Proprete/CdeFournisseurEntete.php | 2 + .../Model/Proprete/CdeFournisseurLigne.php | 2 + .../Model/Proprete/CdeFournisseurMensu.php | 2 + .../Model/Proprete/CdeTypeInspEntetes.php | 2 + .../Model/Proprete/CdeTypeInspLignes.php | 2 + .../quadratus/Model/Proprete/Chantiers.php | 2 + .../Proprete/ChantiersBudgetCommande.php | 2 + .../Proprete/ChantiersDescriptifLocaux.php | 2 + .../ChantiersDescriptifLocauxElements.php | 2 + .../ChantiersFrequencesControlesQualite.php | 2 + .../Model/Proprete/ChantiersHistoRev.php | 2 + .../Proprete/ChantiersPeriodesFermeture.php | 2 + .../Proprete/ChantiersPlanCtrlQualite.php | 2 + .../Model/Proprete/ChantiersReclamations.php | 2 + .../ChantiersReclamationsEmployes.php | 2 + .../Model/Proprete/ChantiersSynchroId.php | 2 + .../quadratus/Model/Proprete/ChargesPaie.php | 2 + .../Model/Proprete/ChargesPaiePrimes.php | 2 + .../src/quadratus/Model/Proprete/Clients.php | 2 + .../Model/Proprete/CommentairesPaie.php | 2 + .../quadratus/Model/Proprete/ConstPrimes.php | 2 + .../Model/Proprete/ConstTabAnalAchat.php | 2 + .../Model/Proprete/ConstTabAnalVente.php | 2 + .../Model/Proprete/ConstTabTvaAchat.php | 2 + .../Model/Proprete/ConstTabTvaVente.php | 2 + .../Model/Proprete/ConstTabVentilAchat.php | 2 + .../Model/Proprete/ConstTabVentilVente.php | 2 + .../quadratus/Model/Proprete/Constantes.php | 2 + .../quadratus/Model/Proprete/Constantes2.php | 2 + .../Model/Proprete/ConstantesMajorations.php | 2 + .../CorrespondanceFamArtQFactChargesQProp.php | 2 + .../Model/Proprete/CriteresChantier.php | 2 + .../Model/Proprete/CriteresListe.php | 2 + .../Model/Proprete/DataSynchroSupprime.php | 2 + .../Model/Proprete/DernErrPrepaFact.php | 2 + .../Model/Proprete/DernPrepaFact.php | 2 + .../Model/Proprete/DernPrepaPaie.php | 2 + .../Model/Proprete/DetailCharges.php | 2 + .../Model/Proprete/DevisChantiers.php | 2 + .../Model/Proprete/DevisChantiersLignes.php | 2 + .../Model/Proprete/DevisCommercialEntetes.php | 2 + .../Model/Proprete/DevisCommercialLignes.php | 2 + .../Model/Proprete/DevisDescriptifLocaux.php | 2 + .../quadratus/Model/Proprete/DevisEntetes.php | 2 + .../quadratus/Model/Proprete/DevisLignes.php | 2 + .../Model/Proprete/DevisLocalLignes.php | 2 + .../Model/Proprete/DevisProgEntetes.php | 2 + .../Model/Proprete/DevisProgLignes.php | 2 + .../Model/Proprete/DevisProgramLignes.php | 2 + .../src/quadratus/Model/Proprete/DevisZbe.php | 2 + .../quadratus/Model/Proprete/Documents.php | 2 + .../src/quadratus/Model/Proprete/EmpPrev.php | 2 + .../src/quadratus/Model/Proprete/Employes.php | 2 + .../Model/Proprete/EmployesModules.php | 2 + .../Model/Proprete/EmployesPointages.php | 2 + .../Model/Proprete/EnchainementSemaines.php | 2 + .../Model/Proprete/EquipeEmployes.php | 2 + .../src/quadratus/Model/Proprete/Factors.php | 2 + .../Model/Proprete/FacturesEntetes.php | 2 + .../Model/Proprete/FacturesLignes.php | 2 + .../Model/Proprete/FichesControles.php | 2 + .../Model/Proprete/FichesControlesEntetes.php | 2 + .../Proprete/FichesControlesLignesActions.php | 2 + .../FichesControlesLignesElements.php | 2 + .../FichesControlesLignesEmployes.php | 2 + .../Proprete/FichesControlesSupprimees.php | 2 + .../Model/Proprete/FichesDePoste.php | 2 + .../Model/Proprete/FichesExposition.php | 2 + .../Model/Proprete/FiltreEntetes.php | 2 + .../quadratus/Model/Proprete/FiltreLignes.php | 2 + .../src/quadratus/Model/Proprete/Forfaits.php | 2 + .../quadratus/Model/Proprete/Fournisseurs.php | 2 + .../quadratus/Model/Proprete/GroupeLignes.php | 2 + .../Proprete/HeuresAbsenceMensualisees.php | 2 + .../Model/Proprete/HistoPaieAbsences.php | 2 + .../Model/Proprete/HistoPaieAnal.php | 2 + .../Model/Proprete/HistoPaieHSup.php | 2 + .../Model/Proprete/HistoPaiePrimes.php | 2 + .../Model/Proprete/HistoPaieType2.php | 2 + .../Model/Proprete/HistoPrepPaie.php | 2 + .../Model/Proprete/HistoTransfPaie.php | 2 + .../quadratus/Model/Proprete/HorairesEmp.php | 2 + .../quadratus/Model/Proprete/Intervenants.php | 2 + .../quadratus/Model/Proprete/JoursFeries.php | 2 + .../src/quadratus/Model/Proprete/Libelles.php | 2 + .../src/quadratus/Model/Proprete/Materiel.php | 2 + .../Model/Proprete/MensualisationTache.php | 2 + .../Proprete/MensualisationTacheAvenants.php | 2 + .../Model/Proprete/MouvementsStock.php | 2 + .../src/quadratus/Model/Proprete/Options.php | 2 + .../src/quadratus/Model/Proprete/Options2.php | 2 + .../src/quadratus/Model/Proprete/Photos.php | 2 + .../Model/Proprete/PiecesJointes.php | 2 + .../Model/Proprete/PlanPrevOrdonnancement.php | 2 + .../quadratus/Model/Proprete/PlansEnTete.php | 2 + .../Model/Proprete/PlansEnTeteBonTrav.php | 2 + .../Model/Proprete/PlansFactBonTrav.php | 2 + .../Model/Proprete/PlansFacturation.php | 2 + .../quadratus/Model/Proprete/PointBonTrav.php | 2 + .../Model/Proprete/PointEmpHeuresAbs.php | 2 + .../Proprete/PointEmpHeuresAbsComplRempl.php | 2 + .../Model/Proprete/PointEmpHeuresComplt.php | 2 + .../Proprete/PointEmpNbHRemplContrat.php | 2 + .../Model/Proprete/PointEmpPrimes.php | 2 + .../Model/Proprete/PointEmpTache.php | 2 + .../Proprete/PointageSynchroSupprime.php | 2 + .../Model/Proprete/PointagesEmployes.php | 2 + .../quadratus/Model/Proprete/PostesCharge.php | 2 + .../Model/Proprete/PrepaPaieHSup.php | 2 + .../Model/Proprete/PrepaPaieRepos.php | 2 + .../Model/Proprete/PrestationsRisques.php | 2 + .../Model/Proprete/ProgTypeEntetes.php | 2 + .../Model/Proprete/ProgTypeLignes.php | 2 + .../quadratus/Model/Proprete/Prospects.php | 2 + .../src/quadratus/Model/Proprete/QuadraDb.php | 2 + .../Proprete/RegroupementPostesCharges.php | 2 + .../Model/Proprete/SaisieApproChantier.php | 2 + .../Model/Proprete/SousLignesAnalAchats.php | 2 + .../Model/Proprete/SousLignesAnalytiques.php | 2 + .../Model/Proprete/SousLignesComptaGene.php | 2 + .../Model/Proprete/SynchroChantiers.php | 2 + .../src/quadratus/Model/Proprete/Taches.php | 2 + .../Model/Proprete/TachesDureeBudgetee.php | 2 + .../Model/Proprete/TachesSemaine.php | 2 + .../src/quadratus/Model/Proprete/Tarifs.php | 2 + .../Model/Proprete/TrameInventaire.php | 2 + .../quadratus/Model/Proprete/TranchesHSup.php | 2 + .../Model/Proprete/ValorisationHoraire.php | 2 + .../Model/QCompta/AffectationAna.php | 2 + .../Model/QCompta/AffectationAna2.php | 2 + .../Model/QCompta/AffectationAna3.php | 2 + .../Model/QCompta/AffectationAnaDiv.php | 2 + .../src/quadratus/Model/QCompta/Alertes.php | 2 + .../quadratus/Model/QCompta/Assurances.php | 2 + .../quadratus/Model/QCompta/BudgetEntetes.php | 2 + .../quadratus/Model/QCompta/BudgetLignes.php | 2 + .../Model/QCompta/CaisseAttestation.php | 2 + .../src/quadratus/Model/QCompta/CalculIs.php | 2 + .../Model/QCompta/Centralisateur.php | 2 + .../src/quadratus/Model/QCompta/Centres.php | 2 + .../Model/QCompta/ChargesARepartir.php | 2 + .../Model/QCompta/ChargesARepartirLignes.php | 2 + .../Model/QCompta/ChargesProduits.php | 2 + .../Model/QCompta/CleRepartitionEntetes.php | 2 + .../Model/QCompta/CleRepartitionLignes.php | 2 + .../Model/QCompta/ClientsDouteux.php | 2 + .../Model/QCompta/CoeffAmortissement.php | 2 + .../src/quadratus/Model/QCompta/Comptes.php | 2 + .../src/quadratus/Model/QCompta/Comptes2.php | 2 + .../src/quadratus/Model/QCompta/Comptes3.php | 2 + .../quadratus/Model/QCompta/ComptesDas2.php | 2 + .../Model/QCompta/ComptesRecurrents.php | 2 + .../src/quadratus/Model/QCompta/Compteur.php | 2 + .../Model/QCompta/Contratslocatifs.php | 2 + .../Model/QCompta/ControleSalaires.php | 2 + .../quadratus/Model/QCompta/ControleTva.php | 2 + .../quadratus/Model/QCompta/CreditsBails.php | 2 + .../src/quadratus/Model/QCompta/DecTva.php | 2 + .../src/quadratus/Model/QCompta/DecTva2.php | 2 + .../quadratus/Model/QCompta/DecTva3514.php | 2 + .../quadratus/Model/QCompta/DecTva3519.php | 2 + .../quadratus/Model/QCompta/DecTvaCa12.php | 2 + .../Model/QCompta/DecTvaFiliales.php | 2 + .../quadratus/Model/QCompta/DecTvaGroupe.php | 2 + .../src/quadratus/Model/QCompta/DecTvaUlt.php | 2 + .../Model/QCompta/DetailCreditsBails.php | 2 + .../quadratus/Model/QCompta/DetailImmos.php | 2 + .../src/quadratus/Model/QCompta/Devises.php | 2 + .../Model/QCompta/DosRevCommentaires.php | 2 + .../quadratus/Model/QCompta/DosRevEtatCpt.php | 2 + .../src/quadratus/Model/QCompta/Dossier1.php | 2 + .../src/quadratus/Model/QCompta/Dossier2.php | 2 + .../src/quadratus/Model/QCompta/Dossier3.php | 2 + .../src/quadratus/Model/QCompta/Dossier4.php | 2 + .../src/quadratus/Model/QCompta/Ecritures.php | 2 + .../Model/QCompta/EcrituresDecTva.php | 2 + .../quadratus/Model/QCompta/EcrituresEco.php | 2 + .../Model/QCompta/EcrituresRapproBancaire.php | 2 + .../src/quadratus/Model/QCompta/Emprunts.php | 2 + .../Model/QCompta/EmpruntsLignes.php | 2 + .../quadratus/Model/QCompta/EtebacLibAuto.php | 2 + .../QCompta/FichesConfidentialitesMenus.php | 2 + .../quadratus/Model/QCompta/Historique.php | 2 + .../Model/QCompta/Historiquehgroupe.php | 2 + .../Model/QCompta/Historiquehmois.php | 2 + .../Model/QCompta/Historiquehpnl.php | 2 + .../Model/QCompta/Historiquehrevision.php | 2 + .../Model/QCompta/Historiquehtabord.php | 2 + .../quadratus/Model/QCompta/ImmoEnsemble.php | 2 + .../Model/QCompta/Immobilisations.php | 2 + .../Model/QCompta/InfoStatistiques.php | 2 + .../src/quadratus/Model/QCompta/Interets.php | 2 + .../src/quadratus/Model/QCompta/Journaux.php | 2 + .../Model/QCompta/JournauxBloques.php | 2 + .../Model/QCompta/JournauxRapproch.php | 2 + .../src/quadratus/Model/QCompta/Langues.php | 2 + .../src/quadratus/Model/QCompta/Libelle.php | 2 + .../quadratus/Model/QCompta/LibellesAuto.php | 2 + .../quadratus/Model/QCompta/LocationsFi.php | 2 + .../quadratus/Model/QCompta/LocationsFiTp.php | 2 + .../Model/QCompta/MotsClefEtebac.php | 2 + .../src/quadratus/Model/QCompta/Natures.php | 2 + .../quadratus/Model/QCompta/PiecesJointes.php | 2 + .../quadratus/Model/QCompta/ProvisionsCp.php | 2 + .../src/quadratus/Model/QCompta/QuadraDb.php | 2 + .../src/quadratus/Model/QCompta/RecapDfi.php | 2 + .../src/quadratus/Model/QCompta/RecapDpa.php | 2 + .../quadratus/Model/QCompta/Reglements.php | 2 + .../quadratus/Model/QCompta/ReglementsAux.php | 2 + .../quadratus/Model/QCompta/Regroupement.php | 2 + .../src/quadratus/Model/QCompta/RegulTva.php | 2 + .../Model/QCompta/ReintegrationFf.php | 2 + .../src/quadratus/Model/QCompta/Stocks.php | 2 + .../quadratus/Model/QCompta/Subventions.php | 2 + .../Model/QCompta/SubventionsLignes.php | 2 + .../quadratus/Model/QCompta/SuiviActivite.php | 2 + .../Model/QCompta/SuiviCompteParticulier.php | 2 + .../Model/QCompta/TableauxPaiements.php | 2 + .../src/quadratus/Model/QCompta/Trames.php | 2 + .../quadratus/Model/QCompta/TramesLignes.php | 2 + .../Model/QCompta/TransfertImmos.php | 2 + .../Model/QCompta/TresoParametrage.php | 2 + .../src/quadratus/Model/QCompta/Tva.php | 2 + .../src/quadratus/Model/QCompta/Vehicules.php | 2 + .../Model/QCompta/VentilationsAuto.php | 2 + .../src/quadratus/Model/QCompta/Vmp.php | 2 + .../quadratus/Model/QCompta/VmpMouvements.php | 2 + .../src/quadratus/Model/QGI/AccesWeb.php | 2 + .../quadratus/Model/QGI/AccesWebAgenda.php | 2 + .../src/quadratus/Model/QGI/Actions.php | 2 + .../src/quadratus/Model/QGI/ActionsCo.php | 2 + .../Model/QGI/ActionsCoConstantes.php | 2 + .../src/quadratus/Model/QGI/ActionsCoDocs.php | 2 + .../quadratus/Model/QGI/ActionsCoInscrits.php | 2 + .../quadratus/Model/QGI/ActionsCoInvites.php | 2 + .../quadratus/Model/QGI/ActionsCoManif.php | 2 + .../quadratus/Model/QGI/ActionsCoSeances.php | 2 + .../quadratus/Model/QGI/ActionsCoSuivi.php | 2 + .../src/quadratus/Model/QGI/ActionsTaches.php | 2 + .../src/quadratus/Model/QGI/Activites.php | 2 + .../Model/QGI/AffaireMtPrevisionnel.php | 2 + .../quadratus/Model/QGI/AffaireParamFrais.php | 2 + .../src/quadratus/Model/QGI/AffaireSuivi.php | 2 + .../src/quadratus/Model/QGI/Affaires.php | 2 + .../quadratus/Model/QGI/AgendaCollabConst.php | 2 + .../quadratus/Model/QGI/AgendaCollabGroup.php | 2 + .../quadratus/Model/QGI/AgendaConstantes.php | 2 + .../quadratus/Model/QGI/AgendaDroitsAcces.php | 2 + .../quadratus/Model/QGI/AgendaFichiers.php | 2 + .../src/quadratus/Model/QGI/AgendaGroupes.php | 2 + .../quadratus/Model/QGI/AgendaGroupes2.php | 2 + .../Model/QGI/AgendaGroupesCompos.php | 2 + .../Model/QGI/AgendaGroupesCompos2.php | 2 + .../quadratus/Model/QGI/AgendaJoursFeries.php | 2 + .../src/quadratus/Model/QGI/AgendaLignes.php | 2 + .../quadratus/Model/QGI/AgendaNoteDuJour.php | 2 + .../src/quadratus/Model/QGI/AgendaTaches.php | 2 + .../quadratus/Model/QGI/AlertesEnCours.php | 2 + .../quadratus/Model/QGI/AlertesHistorique.php | 2 + .../src/quadratus/Model/QGI/Annexe.php | 2 + .../src/quadratus/Model/QGI/AnnexeSuite.php | 2 + .../src/quadratus/Model/QGI/AnnexeTer.php | 2 + .../src/quadratus/Model/QGI/AppelsEnCours.php | 2 + .../src/quadratus/Model/QGI/Articles.php | 2 + .../src/quadratus/Model/QGI/ArticlesEan.php | 2 + .../quadratus/Model/QGI/ArticlesLangues.php | 2 + .../src/quadratus/Model/QGI/Banques.php | 2 + .../src/quadratus/Model/QGI/BoniMali.php | 2 + .../src/quadratus/Model/QGI/BudgetL.php | 2 + .../src/quadratus/Model/QGI/BudgetT.php | 2 + .../quadratus/Model/QGI/CartesAppelEtebac.php | 2 + .../src/quadratus/Model/QGI/Categories.php | 2 + .../Model/QGI/ChapitresDocuments.php | 2 + .../src/quadratus/Model/QGI/Civilites.php | 2 + .../src/quadratus/Model/QGI/Clients.php | 2 + .../src/quadratus/Model/QGI/Clients2.php | 2 + .../Model/QGI/ClientsAffairesChantiers.php | 2 + .../quadratus/Model/QGI/ClientsFavoris.php | 2 + .../quadratus/Model/QGI/ClientsLstPerso.php | 2 + .../Model/QGI/ClientsLstPersoColonnes.php | 2 + .../Model/QGI/ClientsLstPersoIndiceCollab.php | 2 + .../quadratus/Model/QGI/ClientsSelAvance.php | 2 + .../Model/QGI/ClientsSelAvanceFavoris.php | 2 + .../quadratus/Model/QGI/ClientsSelection.php | 2 + .../Model/QGI/ClientsSelectionSuite.php | 2 + .../quadratus/Model/QGI/CollabAdrMailConf.php | 2 + .../src/quadratus/Model/QGI/CollabTache.php | 2 + .../quadratus/Model/QGI/CollabVisuAppels.php | 2 + .../quadratus/Model/QGI/CollabVisuTaches.php | 2 + .../quadratus/Model/QGI/Collaborateurs.php | 2 + .../Model/QGI/CommissairesComptes.php | 2 + .../quadratus/Model/QGI/CompteurEcritures.php | 2 + .../quadratus/Model/QGI/Confidentialite.php | 2 + .../Model/QGI/ConfidentialiteZones.php | 2 + .../src/quadratus/Model/QGI/Constantes.php | 2 + .../src/quadratus/Model/QGI/Constantes2.php | 2 + .../src/quadratus/Model/QGI/Contenu.php | 2 + .../Model/QGI/ConventionsColConf.php | 2 + .../quadratus/Model/QGI/CriteresAffaire.php | 2 + .../quadratus/Model/QGI/CriteresArticle.php | 2 + .../quadratus/Model/QGI/CriteresArticle2.php | 2 + .../quadratus/Model/QGI/CriteresClient.php | 2 + .../quadratus/Model/QGI/CriteresLibres.php | 2 + .../Model/QGI/CriteresLibresArticles.php | 2 + .../src/quadratus/Model/QGI/CriteresListe.php | 2 + .../Model/QGI/CriteresListeAffaire.php | 2 + .../Model/QGI/CriteresListeArticle.php | 2 + .../Model/QGI/CriteresListeArticle2.php | 2 + .../Model/QGI/CriteresListeEntPiece.php | 2 + .../Model/QGI/CriteresListeEntPieceAc.php | 2 + .../quadratus/Model/QGI/DetailsMissions.php | 2 + .../src/quadratus/Model/QGI/Devises.php | 2 + .../src/quadratus/Model/QGI/Dirigeants.php | 2 + .../src/quadratus/Model/QGI/DossiersCpta.php | 2 + .../QGI/DroitsAccesIntervenantsCollab.php | 2 + .../quadratus/Model/QGI/ElementsSupprimes.php | 2 + .../src/quadratus/Model/QGI/EnvoiSms.php | 2 + .../src/quadratus/Model/QGI/EnvoiSmsFact.php | 2 + .../src/quadratus/Model/QGI/Etiquettes.php | 2 + .../src/quadratus/Model/QGI/Evenements.php | 2 + .../quadratus/Model/QGI/FactFournEntete.php | 2 + .../quadratus/Model/QGI/FactFournLignes.php | 2 + .../quadratus/Model/QGI/FamilleArticle.php | 2 + .../QGI/FichesConfidentialitesControles.php | 2 + .../Model/QGI/FichesConfidentialitesMenus.php | 2 + .../src/quadratus/Model/QGI/Fiscal.php | 2 + .../src/quadratus/Model/QGI/Fonctions.php | 2 + .../Model/QGI/FonctionsControles.php | 2 + .../src/quadratus/Model/QGI/Fournisseurs.php | 2 + .../src/quadratus/Model/QGI/GroupesClient.php | 2 + .../Model/QGI/GroupesFournisseur.php | 2 + .../quadratus/Model/QGI/HistoriqueAppels.php | 2 + .../quadratus/Model/QGI/HistoriqueNotes.php | 2 + .../quadratus/Model/QGI/HistoriqueTravaux.php | 2 + .../quadratus/Model/QGI/HoraireTheorique.php | 2 + .../src/quadratus/Model/QGI/ImpotsDirects.php | 2 + .../src/quadratus/Model/QGI/Intervenants.php | 2 + .../quadratus/Model/QGI/InventaireTrame.php | 2 + .../src/quadratus/Model/QGI/JoursFeries.php | 2 + .../Model/QGI/LettresMissionsEntetes.php | 2 + .../Model/QGI/LettresMissionsLignes.php | 2 + .../Model/QGI/LiaisonsDestinataires.php | 2 + .../QGI/LiaisonsDestinatairesTypesEnvois.php | 2 + .../Model/QGI/LiaisonsHistorique.php | 2 + .../quadratus/Model/QGI/LiaisonsOpTrans.php | 2 + .../Model/QGI/LiaisonsTypesEnvois.php | 2 + .../src/quadratus/Model/QGI/Libelles.php | 2 + .../src/quadratus/Model/QGI/Licences.php | 2 + .../Model/QGI/LignesProfilsActions.php | 2 + .../src/quadratus/Model/QGI/Logiciels.php | 2 + .../Model/QGI/LstDiffusionLignes.php | 2 + .../quadratus/Model/QGI/LstDiffusionTetes.php | 2 + .../src/quadratus/Model/QGI/MasquesExcel.php | 2 + .../src/quadratus/Model/QGI/Materiels.php | 2 + .../quadratus/Model/QGI/MissionPrincipale.php | 2 + .../Model/QGI/MissionRepartitionTaches.php | 2 + .../quadratus/Model/QGI/MissionVisuTaches.php | 2 + .../src/quadratus/Model/QGI/Missions.php | 2 + .../src/quadratus/Model/QGI/Nomenclatures.php | 2 + .../src/quadratus/Model/QGI/Notes.php | 2 + .../quadratus/Model/QGI/NotesCategories.php | 2 + .../src/quadratus/Model/QGI/NotesFichiers.php | 2 + .../src/quadratus/Model/QGI/Obligations.php | 2 + .../quadratus/Model/QGI/ObligationsLiees.php | 2 + .../Model/QGI/ObligationsPointees.php | 2 + .../quadratus/Model/QGI/OptionsEnvoiMails.php | 2 + .../quadratus/Model/QGI/ParamEtiquettes.php | 2 + .../src/quadratus/Model/QGI/Phases.php | 2 + .../Model/QGI/PlanObligationClient.php | 2 + .../Model/QGI/PointageReglementsLignes.php | 2 + .../Model/QGI/PointageReglementsTetes.php | 2 + .../src/quadratus/Model/QGI/Pointeuse.php | 2 + .../src/quadratus/Model/QGI/PostIt.php | 2 + .../quadratus/Model/QGI/Prefacturation.php | 2 + .../src/quadratus/Model/QGI/Produits.php | 2 + .../quadratus/Model/QGI/ProfilsActions.php | 2 + .../src/quadratus/Model/QGI/QuadraDb.php | 2 + .../src/quadratus/Model/QGI/Qualifiant2.php | 2 + .../src/quadratus/Model/QGI/Qualifiants.php | 2 + .../src/quadratus/Model/QGI/Reglements.php | 2 + .../quadratus/Model/QGI/ReglesPublication.php | 2 + .../src/quadratus/Model/QGI/Regroupements.php | 2 + .../src/quadratus/Model/QGI/RepertoireCol.php | 2 + .../quadratus/Model/QGI/RgCorrespondances.php | 2 + .../src/quadratus/Model/QGI/RgProfils.php | 2 + .../src/quadratus/Model/QGI/SemaineType.php | 2 + .../Model/QGI/SousFamilleArticle.php | 2 + .../Model/QGI/SousRepertoiresAppels.php | 2 + .../Model/QGI/SousRepertoiresCol.php | 2 + .../src/quadratus/Model/QGI/Statistiques.php | 2 + .../src/quadratus/Model/QGI/StatsGroupes.php | 2 + .../Model/QGI/StatsPersoSuiviClientCols.php | 2 + .../Model/QGI/StatsPersoSuiviClientTetes.php | 2 + .../src/quadratus/Model/QGI/SuiviClient.php | 2 + .../src/quadratus/Model/QGI/Taches.php | 2 + .../src/quadratus/Model/QGI/Tarifs.php | 2 + .../quadratus/Model/QGI/TarifsPeriodes.php | 2 + .../quadratus/Model/QGI/TarifsTranches.php | 2 + .../src/quadratus/Model/QGI/TempsPasses.php | 2 + .../Model/QGI/TempsPassesDeleted.php | 2 + .../Model/QGI/TempsPrevisionnels.php | 2 + .../quadratus/Model/QGI/TravauxEnCours.php | 2 + .../quadratus/Model/QGI/TravauxMissions.php | 2 + .../Model/QGI/TravauxTypeEntetes.php | 2 + .../quadratus/Model/QGI/TravauxTypeLignes.php | 2 + .../quadratus/Model/QGI/TypeEvenements.php | 2 + .../quadratus/Model/QGI/TypeIntervenants.php | 2 + .../src/quadratus/Model/QGI/TypeMissions.php | 2 + .../src/quadratus/Model/QGI/TypeSocietes.php | 2 + .../src/quadratus/Model/QGI/Variantes.php | 2 + .../src/quadratus/Model/QGI/eWsEspace.php | 2 + .../quadratus/Model/QGI/iCollaborateurs.php | 2 + .../Model/QGI/iCollaborateursSites.php | 2 + .../src/quadratus/Model/QGI/iComptaDroits.php | 2 + .../Model/QGI/iComptaDroitsJournaux.php | 2 + .../Model/QGI/iEspaceClientDroits.php | 2 + .../src/quadratus/Model/QGI/iPaieDroits.php | 2 + .../src/quadratus/Model/QGI/iSessions.php | 2 + .../src/quadratus/Model/QGI/iSites.php | 2 + .../src/quadratus/Model/QPaie/Absences.php | 2 + .../quadratus/Model/QPaie/AbsencesExcel.php | 2 + .../Model/QPaie/AbsencesExcelHisto.php | 2 + .../src/quadratus/Model/QPaie/Acomptes.php | 2 + .../src/quadratus/Model/QPaie/Alertes.php | 2 + .../quadratus/Model/QPaie/AttestationAem.php | 2 + .../Model/QPaie/AttestationAssedic.php | 2 + .../quadratus/Model/QPaie/AttestationAt.php | 2 + .../quadratus/Model/QPaie/AttestationCacm.php | 2 + .../Model/QPaie/AttestationExtras.php | 2 + .../quadratus/Model/QPaie/AttestationIjss.php | 2 + .../Model/QPaie/BordPrepAbsences.php | 2 + .../Model/QPaie/BordPrepAcomptes.php | 2 + .../src/quadratus/Model/QPaie/BordPrepVar.php | 2 + .../src/quadratus/Model/QPaie/Bulletins.php | 2 + .../quadratus/Model/QPaie/BulletinsNavigo.php | 2 + .../Model/QPaie/CaissesRetraiteMetier.php | 2 + .../Model/QPaie/CommentaireBulletins.php | 2 + .../Model/QPaie/ComptesLibQuadra.php | 2 + .../src/quadratus/Model/QPaie/Compteur.php | 2 + .../Model/QPaie/CongesSpectacles.php | 2 + .../Model/QPaie/ConstantesEntreprise.php | 2 + .../Model/QPaie/ConstantesEntreprise2.php | 2 + .../Model/QPaie/ConventionsColGrillesAnc.php | 2 + .../Model/QPaie/ConventionsColLibelles.php | 2 + .../QPaie/ConventionsColLignesGrillesAnc.php | 2 + .../quadratus/Model/QPaie/CriteresLibres.php | 2 + .../quadratus/Model/QPaie/CumulsAnneePrec.php | 2 + .../quadratus/Model/QPaie/CumulsLibelles.php | 2 + .../quadratus/Model/QPaie/DadsuAnnuelle.php | 2 + .../Model/QPaie/DadsuAssuranceEntete.php | 2 + .../QPaie/DadsuAssuranceLignesContrat.php | 2 + .../Model/QPaie/DadsuEtablissements.php | 2 + .../Model/QPaie/DadsuEtablissementsRectif.php | 2 + .../src/quadratus/Model/QPaie/DadsuPrev.php | 2 + .../Model/QPaie/DadsuPrevoyanceEntete.php | 2 + .../QPaie/DadsuPrevoyanceLignesContrat.php | 2 + .../QPaie/DadsuPrevoyanceRegroupement.php | 2 + .../Model/QPaie/DadsuRetraiteEntete.php | 2 + .../QPaie/DadsuRetraiteLignesContrat.php | 2 + .../quadratus/Model/QPaie/DadsuSituation.php | 2 + .../src/quadratus/Model/QPaie/Dadsubtp.php | 2 + .../Model/QPaie/DeclarationCafat.php | 2 + .../quadratus/Model/QPaie/DeclarationsAt.php | 2 + .../src/quadratus/Model/QPaie/Documents.php | 2 + .../quadratus/Model/QPaie/DsnLieuTravail.php | 2 + .../QPaie/EmpDadsuAssuranceLignesContrat.php | 2 + .../quadratus/Model/QPaie/EmpDadsuCalcul.php | 2 + .../quadratus/Model/QPaie/EmpDadsuGene.php | 2 + .../quadratus/Model/QPaie/EmpDadsuParam.php | 2 + .../Model/QPaie/EmpDadsuPrevoyance.php | 2 + .../QPaie/EmpDadsuPrevoyanceAyantDroit.php | 2 + ...DadsuPrevoyanceAyantDroitLignesContrat.php | 2 + .../QPaie/EmpDadsuPrevoyanceEvenements.php | 2 + .../QPaie/EmpDadsuPrevoyanceLignesContrat.php | 2 + .../quadratus/Model/QPaie/EmpDadsuRectif.php | 2 + .../QPaie/EmpDadsuRetraiteLignesContrat.php | 2 + .../quadratus/Model/QPaie/EmpRecapCice.php | 2 + .../quadratus/Model/QPaie/EmpRecapCicemsa.php | 2 + .../Model/QPaie/EmpRecapCodePenibilite.php | 2 + .../quadratus/Model/QPaie/EmpRecapLodeom.php | 2 + .../Model/QPaie/EmpRecapPenibilite.php | 2 + .../Model/QPaie/EmpReportModulation.php | 2 + .../quadratus/Model/QPaie/EmpTdsCalcul.php | 2 + .../src/quadratus/Model/QPaie/Employes.php | 2 + .../src/quadratus/Model/QPaie/Employes2.php | 2 + .../Model/QPaie/EmployesProprete.php | 2 + .../src/quadratus/Model/QPaie/Enfants.php | 2 + .../Model/QPaie/EnteteGrillesType.php | 2 + .../Model/QPaie/EnteteHeuresEffectuees.php | 2 + .../quadratus/Model/QPaie/EntreeSortieEmp.php | 2 + .../quadratus/Model/QPaie/Etablissements.php | 2 + .../quadratus/Model/QPaie/Etablissements2.php | 2 + .../QPaie/FichesConfidentialitesMenus.php | 2 + .../src/quadratus/Model/QPaie/Fillon2012.php | 2 + .../src/quadratus/Model/QPaie/Formations.php | 2 + .../Model/QPaie/FractionEtabPseudoSiret.php | 2 + .../Model/QPaie/GrillesAnciennete.php | 2 + .../src/quadratus/Model/QPaie/GrillesType.php | 2 + .../quadratus/Model/QPaie/HAbsPrepaPaie.php | 2 + .../src/quadratus/Model/QPaie/HSupTepaBul.php | 2 + .../quadratus/Model/QPaie/HeuresAbsence.php | 2 + .../Model/QPaie/HeuresEffectuees.php | 2 + .../src/quadratus/Model/QPaie/HistoMois.php | 2 + .../Model/QPaie/HistoTauxRetraiteMetier.php | 2 + .../Model/QPaie/HistoTransfertCpta.php | 2 + .../src/quadratus/Model/QPaie/Historique.php | 2 + .../Model/QPaie/HistoriquesEmployes.php | 2 + .../QPaie/HistoriquesEmployesColonnes.php | 2 + .../quadratus/Model/QPaie/InfosComplBul.php | 2 + .../Model/QPaie/IntitCumulsLibelles.php | 2 + .../src/quadratus/Model/QPaie/JoursFeries.php | 2 + .../src/quadratus/Model/QPaie/Libelles.php | 2 + .../quadratus/Model/QPaie/LibellesiPaie.php | 2 + .../src/quadratus/Model/QPaie/LignesAta.php | 2 + .../src/quadratus/Model/QPaie/LignesAtb.php | 2 + .../src/quadratus/Model/QPaie/LignesAtc.php | 2 + .../Model/QPaie/LignesAttestationCacm.php | 2 + .../Model/QPaie/LignesAttestationExtras.php | 2 + .../quadratus/Model/QPaie/LignesBulletin.php | 2 + .../Model/QPaie/LignesBulletinCompl.php | 2 + .../src/quadratus/Model/QPaie/LignesCafat.php | 2 + .../src/quadratus/Model/QPaie/LignesDucs.php | 2 + .../Model/QPaie/LignesDucsAnnuelle.php | 2 + .../Model/QPaie/LignesGrillesAnc.php | 2 + .../Model/QPaie/LignesHsmsaEmploye.php | 2 + .../src/quadratus/Model/QPaie/LignesIjss.php | 2 + .../Model/QPaie/LignesIjssPrevoyance.php | 2 + .../Model/QPaie/LignesIjssTpsPartiel.php | 2 + .../Model/QPaie/LignesMsaEmploye.php | 2 + .../Model/QPaie/LignesMsaPenibilite.php | 2 + .../quadratus/Model/QPaie/LignesProfil.php | 2 + .../quadratus/Model/QPaie/ListeEmployes.php | 2 + .../quadratus/Model/QPaie/OrgaGeneriques.php | 2 + .../src/quadratus/Model/QPaie/Organismes.php | 2 + .../quadratus/Model/QPaie/PaiementsEdi.php | 2 + .../src/quadratus/Model/QPaie/PlansDePaie.php | 2 + .../src/quadratus/Model/QPaie/PrepaPaie.php | 2 + .../quadratus/Model/QPaie/PrepaPaieHSup.php | 2 + .../quadratus/Model/QPaie/Previsionnel.php | 2 + .../Model/QPaie/PrimesAttestation.php | 2 + .../src/quadratus/Model/QPaie/Profils.php | 2 + .../src/quadratus/Model/QPaie/QuadraDb.php | 2 + .../Model/QPaie/RecapDucsAnnuelle.php | 2 + .../quadratus/Model/QPaie/RecapLignesDucs.php | 2 + .../quadratus/Model/QPaie/RecapLignesMsa.php | 2 + .../quadratus/Model/QPaie/RegroupementDs.php | 2 + .../Model/QPaie/RegroupementEdBul.php | 2 + .../Model/QPaie/RegroupementEdBulEntete.php | 2 + .../Model/QPaie/RegroupementEdBulTitres.php | 2 + .../Model/QPaie/RegroupementLibelles.php | 2 + .../Model/QPaie/RegularisationAf.php | 2 + .../Model/QPaie/RepartitionActivite.php | 2 + .../Model/QPaie/RepartitionActiviteAna.php | 2 + .../Model/QPaie/RepartitionActiviteAnaBul.php | 2 + .../Model/QPaie/RepartitionActiviteBul.php | 2 + .../QPaie/RepartitionActiviteBulHoraire.php | 2 + .../quadratus/Model/QPaie/RetraitesEmp.php | 2 + .../src/quadratus/Model/QPaie/SaisieArret.php | 2 + .../Model/QPaie/SaisiePrepaColonne.php | 2 + .../Model/QPaie/SaisiePrepaEntete.php | 2 + .../Model/QPaie/SalairesAttestation.php | 2 + .../src/quadratus/Model/QPaie/Services.php | 2 + .../quadratus/Model/QPaie/SeuilReposRecup.php | 2 + .../src/quadratus/Model/QPaie/Spectacles.php | 2 + .../quadratus/Model/QPaie/Tabledeserreurs.php | 2 + .../src/quadratus/Model/QPaie/TauxAt.php | 2 + .../quadratus/Model/QPaie/TauxPlanPaie.php | 2 + .../quadratus/Model/QPaie/TauxRetraite.php | 2 + .../Model/QPaie/TauxRetraiteEtab.php | 2 + .../Model/QPaie/TauxRetraiteMetier.php | 2 + .../src/quadratus/Model/QPaie/TmpTable0.php | 2 + .../src/quadratus/Model/QPaie/TmpTable1.php | 2 + .../quadratus/Model/QPaie/TranchesHSup.php | 2 + .../quadratus/Model/QPaie/TranchesSiBul.php | 2 + .../Model/QPaie/VariablesPaieEmp.php | 2 + .../Model/QPaie/VisiteMedicaleEntete.php | 2 + .../Model/QPaie/VisiteMedicaleLigne.php | 2 + .../Model/QPaie/tblPaieTempLibelles.php | 2 + .../quadratus/Model/QPaie/tblSaisiePaie.php | 2 + .../Model/QPaie/tblSaisiePaieHisto.php | 2 + .../src/security/Authenticator.php | 2 + .../src/security/PasswordAuthentication.php | 2 + .../src/security/TokenGenerator.php | 2 + .../serializer/Helper/CsvSerializerHelper.php | 4 +- .../Helper/JsonSerializerHelper.php | 8 +- .../serializer/Helper/SerializerHelper.php | 2 + .../Helper/XmlDeserializerHelper.php | 6 +- .../serializer/Helper/XmlSerializerHelper.php | 4 +- .../src/serializer/Model/CsvSerializable.php | 2 + .../src/serializer/Model/JsonResponse.php | 2 + .../src/serializer/Model/XmlSerializable.php | 2 + .../src/serializer/SerializerKeys.php | 352 +++++------ .../src/skidata/Api/ParserInterface.php | 6 +- .../skidata/Exception/AbstractException.php | 2 + .../MissingStartRecordFormatException.php | 2 + .../Exception/TooLongDataException.php | 2 + .../core-library/src/skidata/Model/Card.php | 2 + .../src/skidata/Model/Customer.php | 2 + .../src/skidata/Model/StartRecordFormat.php | 2 + .../core-library/src/skidata/Model/User.php | 2 + .../src/skidata/Parser/AbstractParser.php | 4 +- .../src/skidata/Parser/CardParser.php | 2 + .../src/skidata/Parser/CustomerParser.php | 2 + .../Parser/StartRecordFormatParser.php | 2 + .../src/skidata/Parser/UserParser.php | 2 + .../src/skidata/Traits/CardTrait.php | 2 + .../src/skidata/Traits/CustomerTrait.php | 2 + .../src/sorter/AlphabeticalTreeSort.php | 2 + .../src/sorter/FunctorInterface.php | 2 + .../Helper/AlphabeticalTreeNodeHelper.php | 10 +- .../Model/AlphabeticalTreeNodeInterface.php | 2 + .../core-library/src/sorter/QuickSort.php | 10 +- .../src/symfony/Assets/AbstractAlert.php | 3 + .../src/symfony/Assets/AbstractBadge.php | 3 + .../src/symfony/Assets/AbstractButton.php | 3 + .../src/symfony/Assets/AbstractIcon.php | 3 + .../src/symfony/Assets/AbstractLabel.php | 3 + .../symfony/Assets/AbstractNavigationNode.php | 36 +- .../symfony/Assets/AbstractNotification.php | 3 + .../symfony/Assets/AbstractProgressBar.php | 3 + .../src/symfony/Assets/AbstractToast.php | 3 + .../src/symfony/Assets/AlertInterface.php | 10 +- .../src/symfony/Assets/AlertTrait.php | 2 + .../src/symfony/Assets/BadgeInterface.php | 10 +- .../src/symfony/Assets/BadgeTrait.php | 2 + .../src/symfony/Assets/ButtonInterface.php | 10 +- .../src/symfony/Assets/ButtonTrait.php | 2 + .../symfony/Assets/ChoiceLabelInterface.php | 2 + .../symfony/Assets/ChoiceValueInterface.php | 2 + .../src/symfony/Assets/FullCalendarEvent.php | 11 +- .../Assets/FullCalendarEventInterface.php | 6 +- .../src/symfony/Assets/IconInterface.php | 2 + .../src/symfony/Assets/IconTrait.php | 2 + .../src/symfony/Assets/LabelInterface.php | 10 +- .../src/symfony/Assets/LabelTrait.php | 2 + .../Assets/Navigation/BreadcrumbNode.php | 2 + .../symfony/Assets/Navigation/DividerNode.php | 2 + .../symfony/Assets/Navigation/HeaderNode.php | 2 + .../Assets/Navigation/NavigationNode.php | 2 + .../Assets/Navigation/NavigationTree.php | 2 + .../symfony/Assets/NavigationInterface.php | 10 +- .../Assets/NavigationNodeInterface.php | 18 +- .../Notification/DangerNotification.php | 2 + .../Notification/DefaultNotification.php | 6 +- .../Assets/Notification/InfoNotification.php | 2 + .../Notification/SuccessNotification.php | 2 + .../Notification/WarningNotification.php | 2 + .../symfony/Assets/NotificationInterface.php | 10 +- .../src/symfony/Assets/NotificationTrait.php | 2 + .../symfony/Assets/ProgressBarInterface.php | 10 +- .../src/symfony/Assets/ProgressBarTrait.php | 2 + .../symfony/Assets/Select2OptionInterface.php | 2 + .../src/symfony/Assets/Toast/DangerToast.php | 2 + .../src/symfony/Assets/Toast/DefaultToast.php | 2 + .../src/symfony/Assets/Toast/InfoToast.php | 2 + .../src/symfony/Assets/Toast/SuccessToast.php | 2 + .../src/symfony/Assets/Toast/WarningToast.php | 2 + .../src/symfony/Assets/ToastInterface.php | 10 +- .../src/symfony/Assets/ToastTrait.php | 2 + .../AmberColorProvider.php | 4 +- .../BlackColorProvider.php | 4 +- .../BlueColorProvider.php | 4 +- .../BlueGreyColorProvider.php | 4 +- .../BrownColorProvider.php | 4 +- .../CyanColorProvider.php | 4 +- .../DeepOrangeColorProvider.php | 4 +- .../DeepPurpleColorProvider.php | 4 +- .../GreenColorProvider.php | 4 +- .../GreyColorProvider.php | 4 +- .../IndigoColorProvider.php | 4 +- .../LightBlueColorProvider.php | 4 +- .../LightGreenColorProvider.php | 4 +- .../LimeColorProvider.php | 4 +- .../OrangeColorProvider.php | 4 +- .../PinkColorProvider.php | 4 +- .../PurpleColorProvider.php | 4 +- .../RedColorProvider.php | 4 +- .../TealColorProvider.php | 4 +- .../WhiteColorProvider.php | 4 +- .../YellowColorProvider.php | 4 +- .../MaterialDesignColorPaletteInterface.php | 28 +- .../AlreadyRegisteredProviderException.php | 2 + .../Exception/RedirectResponseException.php | 2 + .../src/symfony/Factory/ColorFactory.php | 2 + .../symfony/Factory/NotificationFactory.php | 2 + .../src/symfony/Factory/ToastFactory.php | 2 + .../src/symfony/Helper/AssetsHelper.php | 4 +- .../src/symfony/Helper/ColorHelper.php | 6 + .../src/symfony/Manager/AbstractManager.php | 4 +- .../src/symfony/Manager/ColorManager.php | 6 +- .../symfony/Manager/ColorManagerInterface.php | 2 + .../src/symfony/Manager/ColorManagerTrait.php | 2 + .../src/symfony/Manager/JavascriptManager.php | 4 +- .../Manager/JavascriptManagerInterface.php | 4 +- .../Manager/JavascriptManagerTrait.php | 2 + .../src/symfony/Manager/ManagerInterface.php | 2 + .../src/symfony/Manager/ManagerTrait.php | 2 + .../src/symfony/Manager/QuoteManager.php | 4 +- .../symfony/Manager/QuoteManagerInterface.php | 2 + .../src/symfony/Manager/QuoteManagerTrait.php | 2 + .../src/symfony/Manager/StylesheetManager.php | 4 +- .../Manager/StylesheetManagerInterface.php | 4 +- .../Manager/StylesheetManagerTrait.php | 2 + .../core-library/src/symfony/Model/Quote.php | 2 + .../src/symfony/Model/QuoteInterface.php | 2 + .../src/symfony/Model/QuoteTrait.php | 2 + .../src/symfony/Model/RepositoryDetail.php | 2 + .../Model/RepositoryDetailInterface.php | 2 + .../symfony/Model/RepositoryDetailTrait.php | 2 + .../src/symfony/Model/RepositoryEvent.php | 3 + .../Model/RepositoryEventInterface.php | 8 +- .../symfony/Model/RepositoryEventTrait.php | 2 + .../src/symfony/Model/RepositoryReport.php | 2 + .../Model/RepositoryReportInterface.php | 2 + .../symfony/Model/RepositoryReportTrait.php | 2 + .../src/symfony/Model/RequestDetail.php | 3 + .../symfony/Model/RequestDetailInterface.php | 2 + .../src/symfony/Model/RequestDetailTrait.php | 2 + .../Provider/AbstractColorProvider.php | 5 +- .../Provider/AbstractQuoteProvider.php | 2 + .../Color/AmberColorProviderInterface.php | 32 +- .../Color/AmberColorProviderTrait.php | 2 + .../Color/BlackColorProviderInterface.php | 6 +- .../Color/BlackColorProviderTrait.php | 2 + .../Color/BlueColorProviderInterface.php | 32 +- .../Provider/Color/BlueColorProviderTrait.php | 2 + .../Color/BlueGreyColorProviderInterface.php | 24 +- .../Color/BlueGreyColorProviderTrait.php | 2 + .../Color/BrownColorProviderInterface.php | 24 +- .../Color/BrownColorProviderTrait.php | 2 + .../Color/CyanColorProviderInterface.php | 32 +- .../Provider/Color/CyanColorProviderTrait.php | 2 + .../DeepOrangeColorProviderInterface.php | 32 +- .../Color/DeepOrangeColorProviderTrait.php | 2 + .../DeepPurpleColorProviderInterface.php | 32 +- .../Color/DeepPurpleColorProviderTrait.php | 2 + .../Color/GreenColorProviderInterface.php | 32 +- .../Color/GreenColorProviderTrait.php | 2 + .../Color/GreyColorProviderInterface.php | 24 +- .../Provider/Color/GreyColorProviderTrait.php | 2 + .../Color/IndigoColorProviderInterface.php | 32 +- .../Color/IndigoColorProviderTrait.php | 2 + .../Color/LightBlueColorProviderInterface.php | 32 +- .../Color/LightBlueColorProviderTrait.php | 2 + .../LightGreenColorProviderInterface.php | 32 +- .../Color/LightGreenColorProviderTrait.php | 2 + .../Color/LimeColorProviderInterface.php | 32 +- .../Provider/Color/LimeColorProviderTrait.php | 2 + .../Color/OrangeColorProviderInterface.php | 32 +- .../Color/OrangeColorProviderTrait.php | 2 + .../Color/PinkColorProviderInterface.php | 32 +- .../Provider/Color/PinkColorProviderTrait.php | 2 + .../Color/PurpleColorProviderInterface.php | 32 +- .../Color/PurpleColorProviderTrait.php | 2 + .../Color/RedColorProviderInterface.php | 32 +- .../Provider/Color/RedColorProviderTrait.php | 2 + .../Color/TealColorProviderInterface.php | 32 +- .../Provider/Color/TealColorProviderTrait.php | 2 + .../Color/WhiteColorProviderInterface.php | 6 +- .../Color/WhiteColorProviderTrait.php | 2 + .../Color/YellowColorProviderInterface.php | 32 +- .../Color/YellowColorProviderTrait.php | 2 + .../Provider/ColorProviderInterface.php | 6 +- .../symfony/Provider/ColorProviderTrait.php | 2 + .../Provider/JavascriptProviderInterface.php | 10 +- .../Provider/JavascriptProviderTrait.php | 2 + .../symfony/Provider/ProviderInterface.php | 2 + .../src/symfony/Provider/ProviderTrait.php | 2 + .../Quote/WorldsWisdomQuoteProvider.php | 6 +- .../Provider/Quote/YamlQuoteProvider.php | 2 + .../Provider/QuoteProviderInterface.php | 4 +- .../symfony/Provider/QuoteProviderTrait.php | 2 + .../Provider/StylesheetProviderInterface.php | 10 +- .../Provider/StylesheetProviderTrait.php | 2 + .../ApplicationThemeProviderInterface.php | 4 +- .../Theme/ApplicationThemeProviderTrait.php | 2 + .../BreadcrumbsThemeProviderInterface.php | 4 +- .../Theme/BreadcrumbsThemeProviderTrait.php | 2 + .../Theme/FooterThemeProviderInterface.php | 4 +- .../Theme/FooterThemeProviderTrait.php | 2 + .../HookDropdownThemeProviderInterface.php | 6 +- .../Theme/HookDropdownThemeProviderTrait.php | 2 + .../NavigationThemeProviderInterface.php | 4 +- .../Theme/NavigationThemeProviderTrait.php | 2 + ...icationsDropdownThemeProviderInterface.php | 6 +- ...otificationsDropdownThemeProviderTrait.php | 2 + .../Theme/SearchThemeProviderInterface.php | 4 +- .../Theme/SearchThemeProviderTrait.php | 2 + .../TasksDropdownThemeProviderInterface.php | 6 +- .../Theme/TasksDropdownThemeProviderTrait.php | 2 + .../Theme/UserInfoThemeProviderInterface.php | 4 +- .../Theme/UserInfoThemeProviderTrait.php | 2 + .../Provider/ThemeProviderInterface.php | 2 + .../symfony/Provider/ThemeProviderTrait.php | 2 + .../Renderer/Assets/ColorRendererTrait.php | 2 + .../symfony/Renderer/Assets/IconRenderer.php | 2 + .../Renderer/Assets/IconRendererInterface.php | 2 + .../Renderer/Assets/ImageRendererTrait.php | 2 + .../Renderer/DateTimes/DateRendererTrait.php | 2 + .../DateTimes/DateTimeRendererTrait.php | 2 + .../Renderer/DateTimes/TimeRendererTrait.php | 2 + .../Renderer/DateTimesRendererTrait.php | 2 + .../Renderer/Floats/FloatRendererTrait.php | 2 + .../Strings/BoldTextRendererTrait.php | 2 + .../Strings/DeletedTextRendererTrait.php | 2 + .../Strings/InsertedTextRendererTrait.php | 2 + .../Strings/ItalicTextRendererTrait.php | 2 + .../Strings/MarkedTextRendererTrait.php | 2 + .../Strings/SmallTextRendererTrait.php | 2 + .../StrikethroughTextRendererTrait.php | 2 + .../Renderer/Strings/StringWrapperTrait.php | 2 + .../Strings/UnderlinedTextRendererTrait.php | 2 + .../symfony/Renderer/StringsRendererTrait.php | 2 + .../Response/DefaultJsonResponseData.php | 3 + .../DefaultJsonResponseDataInterface.php | 6 +- .../Response/SimpleJsonResponseData.php | 3 + .../SimpleJsonResponseDataInterface.php | 2 + .../src/symfony/Serializer/JsonSerializer.php | 30 +- .../src/symfony/Serializer/SerializerKeys.php | 26 +- .../src/symfony/Service/PhantomJSService.php | 4 +- .../symfony/Service/PhantomJSServiceTrait.php | 2 + .../symfony/Service/TokenGeneratorService.php | 4 +- .../TokenGeneratorServiceInterface.php | 2 + .../Service/TokenGeneratorServiceTrait.php | 2 + .../symfony/Service/UploadedFileService.php | 9 +- .../Service/UploadedFileServiceInterface.php | 2 + .../Service/UploadedFileServiceTrait.php | 2 + .../Theme/DefaultApplicationThemeProvider.php | 2 + .../Theme/DefaultBreadcrumbsThemeProvider.php | 2 + .../Theme/DefaultFooterThemeProvider.php | 2 + .../DefaultHookDropdownThemeProvider.php | 2 + .../Theme/DefaultNavigationThemeProvider.php | 2 + ...aultNotificationsDropdownThemeProvider.php | 2 + .../Theme/DefaultSearchThemeProvider.php | 2 + .../DefaultTasksDropdownThemeProvider.php | 2 + .../Theme/DefaultUserInfoThemeProvider.php | 2 + .../src/system/Helper/SystemHelper.php | 16 +- .../core-library/src/system/Model/Cpu.php | 3 + .../src/system/Model/CpuInterface.php | 2 + .../src/system/Model/CpuTrait.php | 2 + .../src/system/Model/HardDisk.php | 3 + .../src/system/Model/HardDiskInterface.php | 2 + .../src/system/Model/HardDiskTrait.php | 2 + .../core-library/src/system/Model/Memory.php | 3 + .../src/system/Model/MemoryInterface.php | 2 + .../src/system/Model/MemoryTrait.php | 2 + .../core-library/src/system/Model/Network.php | 3 + .../src/system/Model/NetworkCard.php | 3 + .../src/system/Model/NetworkCardInterface.php | 2 + .../src/system/Model/NetworkCardTrait.php | 2 + .../src/system/Model/NetworkInterface.php | 2 + .../src/system/Model/NetworkTrait.php | 2 + .../src/system/Model/OperatingSystem.php | 3 + .../system/Model/OperatingSystemInterface.php | 2 + .../src/system/Model/OperatingSystemTrait.php | 2 + .../src/system/Model/Processor.php | 9 +- .../src/system/Model/ProcessorInterface.php | 2 + .../src/system/Model/ProcessorTrait.php | 2 + .../src/system/Model/PropertyInterface.php | 30 +- .../src/system/Serializer/JsonSerializer.php | 16 +- .../src/system/Serializer/SerializerKeys.php | 46 +- .../core-library/src/system/System.php | 2 + .../src/traits/Arrays/ArrayDataTrait.php | 8 +- .../traits/Booleans/BooleanActiveTrait.php | 2 + .../traits/Booleans/BooleanAnimatedTrait.php | 2 + .../src/traits/Booleans/BooleanDebugTrait.php | 2 + .../traits/Booleans/BooleanDisabledTrait.php | 2 + .../Booleans/BooleanDismissibleTrait.php | 2 + .../traits/Booleans/BooleanEnableTrait.php | 2 + .../traits/Booleans/BooleanEnabledTrait.php | 2 + .../traits/Booleans/BooleanIncomeTrait.php | 2 + .../Booleans/BooleanOnPostDeleteTrait.php | 2 + .../Booleans/BooleanOnPostDisableTrait.php | 2 + .../Booleans/BooleanOnPostEditTrait.php | 2 + .../Booleans/BooleanOnPostEnableTrait.php | 2 + .../traits/Booleans/BooleanOnPostNewTrait.php | 2 + .../Booleans/BooleanOnPostShowTrait.php | 2 + .../Booleans/BooleanOnPreDeleteTrait.php | 2 + .../Booleans/BooleanOnPreDisableTrait.php | 2 + .../traits/Booleans/BooleanOnPreEditTrait.php | 2 + .../Booleans/BooleanOnPreEnableTrait.php | 2 + .../traits/Booleans/BooleanOnPreNewTrait.php | 2 + .../traits/Booleans/BooleanOnPreShowTrait.php | 2 + .../src/traits/Booleans/BooleanReadyTrait.php | 2 + .../traits/Booleans/BooleanStripedTrait.php | 2 + .../src/traits/Booleans/BooleanValueTrait.php | 2 + .../traits/Booleans/BooleanVerboseTrait.php | 2 + .../traits/Booleans/BooleanVisibleTrait.php | 2 + .../traits/Compounds/CompoundAddressTrait.php | 2 + .../traits/Compounds/CompoundPointTrait.php | 2 + .../Compounds/CompoundRateLimitTrait.php | 2 + .../Compounds/CompoundTimestampableTrait.php | 2 + .../DateTimes/DateTimeBeginsAtTrait.php | 2 + .../DateTimes/DateTimeBeginsOnTrait.php | 2 + .../DateTimes/DateTimeBirthDateTrait.php | 2 + .../DateTimes/DateTimeCreatedAtTrait.php | 2 + .../traits/DateTimes/DateTimeCreatedTrait.php | 2 + .../traits/DateTimes/DateTimeDateTrait.php | 2 + .../DateTimes/DateTimeDeadlineTrait.php | 2 + .../traits/DateTimes/DateTimeDeletedTrait.php | 2 + .../DateTimes/DateTimeDisabledTrait.php | 2 + .../traits/DateTimes/DateTimeEndedAtTrait.php | 2 + .../traits/DateTimes/DateTimeEndedOnTrait.php | 2 + .../DateTimes/DateTimeFinishesAtTrait.php | 2 + .../DateTimes/DateTimeFinishesOnTrait.php | 2 + .../DateTimes/DateTimeLastUpdateTrait.php | 2 + .../DateTimes/DateTimePaymentDateTrait.php | 2 + .../DateTimes/DateTimeStartedAtTrait.php | 2 + .../DateTimes/DateTimeStartedOnTrait.php | 2 + .../DateTimes/DateTimeTimestampTrait.php | 2 + .../DateTimes/DateTimeUpdatedAtTrait.php | 2 + .../traits/DateTimes/DateTimeValueTrait.php | 2 + .../src/traits/Floats/FloatAverageTrait.php | 2 + .../Floats/FloatDiscountAmountTrait.php | 2 + .../traits/Floats/FloatDiscountRateTrait.php | 2 + .../traits/Floats/FloatDiscountTotalTrait.php | 2 + .../Floats/FloatExcludingVatPriceTrait.php | 2 + .../Floats/FloatExcludingVatTotalTrait.php | 2 + .../Floats/FloatIncludingVatPriceTrait.php | 2 + .../Floats/FloatIncludingVatTotalTrait.php | 2 + .../src/traits/Floats/FloatLatTrait.php | 2 + .../src/traits/Floats/FloatLatitudeTrait.php | 2 + .../src/traits/Floats/FloatLonTrait.php | 2 + .../src/traits/Floats/FloatLongitudeTrait.php | 2 + .../src/traits/Floats/FloatMaxTrait.php | 2 + .../src/traits/Floats/FloatMaximumTrait.php | 2 + .../src/traits/Floats/FloatMinTrait.php | 2 + .../src/traits/Floats/FloatMinimumTrait.php | 2 + .../src/traits/Floats/FloatQuantityTrait.php | 2 + .../src/traits/Floats/FloatRateTrait.php | 2 + .../src/traits/Floats/FloatScoreTrait.php | 2 + .../src/traits/Floats/FloatSizeTrait.php | 2 + .../traits/Floats/FloatTotalAmountTrait.php | 2 + .../src/traits/Floats/FloatTotalTrait.php | 2 + .../src/traits/Floats/FloatUnitPriceTrait.php | 2 + .../src/traits/Floats/FloatUnitValueTrait.php | 2 + .../src/traits/Floats/FloatValueTrait.php | 2 + .../src/traits/Floats/FloatVatAmountTrait.php | 2 + .../src/traits/Floats/FloatVatRateTrait.php | 2 + .../src/traits/Floats/FloatVatTotalTrait.php | 2 + .../src/traits/Floats/FloatXTrait.php | 2 + .../src/traits/Floats/FloatYTrait.php | 2 + .../traits/Integers/IntegerCivilityTrait.php | 2 + .../src/traits/Integers/IntegerCodeTrait.php | 2 + .../src/traits/Integers/IntegerCountTrait.php | 2 + .../traits/Integers/IntegerHeightTrait.php | 2 + .../src/traits/Integers/IntegerIdTrait.php | 2 + .../Integers/IntegerInsertedRowsTrait.php | 2 + .../Integers/IntegerMaritalStatusTrait.php | 2 + .../Integers/IntegerMaxDurationTrait.php | 2 + .../src/traits/Integers/IntegerMaxTrait.php | 2 + .../traits/Integers/IntegerMaxWidthTrait.php | 2 + .../traits/Integers/IntegerMaximumTrait.php | 2 + .../Integers/IntegerMinDurationTrait.php | 2 + .../traits/Integers/IntegerMinHeightTrait.php | 2 + .../src/traits/Integers/IntegerMinTrait.php | 2 + .../traits/Integers/IntegerMinWidthTrait.php | 2 + .../traits/Integers/IntegerMinimumTrait.php | 2 + .../src/traits/Integers/IntegerPageTrait.php | 2 + .../traits/Integers/IntegerPerPageTrait.php | 2 + .../src/traits/Integers/IntegerPortTrait.php | 2 + .../traits/Integers/IntegerPositionTrait.php | 2 + .../traits/Integers/IntegerQuantityTrait.php | 2 + .../src/traits/Integers/IntegerSizeTrait.php | 2 + .../traits/Integers/IntegerStatusTrait.php | 2 + .../src/traits/Integers/IntegerTotalTrait.php | 2 + .../src/traits/Integers/IntegerTypeTrait.php | 2 + .../src/traits/Integers/IntegerValueTrait.php | 2 + .../src/traits/Integers/IntegerWidthTrait.php | 2 + .../src/traits/Integers/IntegerYearTrait.php | 2 + .../src/traits/Strings/ArrayErrorsTrait.php | 2 + .../src/traits/Strings/ArrayRolesTrait.php | 2 + .../traits/Strings/StringAccessTokenTrait.php | 2 + .../src/traits/Strings/StringAccountTrait.php | 2 + .../Strings/StringAccountingCodeTrait.php | 2 + .../traits/Strings/StringAddresseeTrait.php | 2 + .../traits/Strings/StringApiTokenTrait.php | 2 + .../src/traits/Strings/StringAvatarTrait.php | 2 + .../traits/Strings/StringCategoryTrait.php | 2 + .../src/traits/Strings/StringClassTrait.php | 2 + .../src/traits/Strings/StringCodeTrait.php | 2 + .../src/traits/Strings/StringColorTrait.php | 2 + .../src/traits/Strings/StringColumnTrait.php | 2 + .../src/traits/Strings/StringCommentTrait.php | 2 + .../src/traits/Strings/StringContentTrait.php | 2 + .../src/traits/Strings/StringCountryTrait.php | 2 + .../Strings/StringCustomerCodeTrait.php | 2 + .../src/traits/Strings/StringDataTrait.php | 2 + .../traits/Strings/StringDescriptionTrait.php | 2 + .../traits/Strings/StringDirectoryTrait.php | 2 + .../src/traits/Strings/StringDomainTrait.php | 2 + .../traits/Strings/StringDurationTrait.php | 2 + .../src/traits/Strings/StringEmailTrait.php | 2 + .../src/traits/Strings/StringEntityTrait.php | 2 + .../traits/Strings/StringEnvironmentTrait.php | 2 + .../src/traits/Strings/StringErrorTrait.php | 2 + .../traits/Strings/StringExtensionTrait.php | 2 + .../traits/Strings/StringFilenameTrait.php | 2 + .../traits/Strings/StringFirstNameTrait.php | 2 + .../src/traits/Strings/StringFormatTrait.php | 2 + .../src/traits/Strings/StringFromTrait.php | 2 + .../src/traits/Strings/StringGidTrait.php | 2 + .../src/traits/Strings/StringHashMd5Trait.php | 2 + .../traits/Strings/StringHashSha1Trait.php | 2 + .../traits/Strings/StringHashSha256Trait.php | 2 + .../src/traits/Strings/StringHashTrait.php | 2 + .../traits/Strings/StringHostnameTrait.php | 2 + .../traits/Strings/StringHouseNumberTrait.php | 2 + .../src/traits/Strings/StringIconTrait.php | 2 + .../src/traits/Strings/StringIdTrait.php | 2 + .../traits/Strings/StringIdentifierTrait.php | 2 + .../src/traits/Strings/StringImageTrait.php | 2 + .../traits/Strings/StringIpAddressTrait.php | 2 + .../src/traits/Strings/StringKeyTrait.php | 2 + .../src/traits/Strings/StringLabelTrait.php | 2 + .../src/traits/Strings/StringLangTrait.php | 2 + .../traits/Strings/StringLastNameTrait.php | 2 + .../src/traits/Strings/StringLinkTrait.php | 2 + .../src/traits/Strings/StringLocaleTrait.php | 2 + .../traits/Strings/StringLocationTrait.php | 2 + .../src/traits/Strings/StringLogoTrait.php | 2 + .../traits/Strings/StringMacAddressTrait.php | 2 + .../src/traits/Strings/StringMentionTrait.php | 2 + .../src/traits/Strings/StringMessageTrait.php | 2 + .../src/traits/Strings/StringMethodTrait.php | 2 + .../traits/Strings/StringMimeTypeTrait.php | 2 + .../src/traits/Strings/StringMobileTrait.php | 2 + .../src/traits/Strings/StringMotifTrait.php | 2 + .../src/traits/Strings/StringNafCodeTrait.php | 2 + .../src/traits/Strings/StringNameTrait.php | 2 + .../src/traits/Strings/StringNumberTrait.php | 2 + .../src/traits/Strings/StringObjectTrait.php | 2 + .../traits/Strings/StringOrientationTrait.php | 2 + .../traits/Strings/StringOriginUrlTrait.php | 2 + .../traits/Strings/StringPasswordTrait.php | 2 + .../traits/Strings/StringPathnameTrait.php | 2 + .../src/traits/Strings/StringPhoneTrait.php | 2 + .../src/traits/Strings/StringPictureTrait.php | 2 + .../traits/Strings/StringPostalCodeTrait.php | 2 + .../src/traits/Strings/StringQTrait.php | 2 + .../src/traits/Strings/StringQueryTrait.php | 2 + .../src/traits/Strings/StringRawDataTrait.php | 2 + .../traits/Strings/StringRawResponseTrait.php | 2 + .../traits/Strings/StringRedirectUrlTrait.php | 2 + .../traits/Strings/StringReferenceTrait.php | 2 + .../src/traits/Strings/StringRequestTrait.php | 2 + .../src/traits/Strings/StringRouteTrait.php | 2 + .../src/traits/Strings/StringSaltTrait.php | 2 + .../src/traits/Strings/StringSchemaTrait.php | 2 + .../traits/Strings/StringShortLabelTrait.php | 2 + .../traits/Strings/StringSiretNumberTrait.php | 2 + .../src/traits/Strings/StringSizeTrait.php | 2 + .../src/traits/Strings/StringSourceTrait.php | 2 + .../src/traits/Strings/StringStateTrait.php | 2 + .../traits/Strings/StringStreetNameTrait.php | 2 + .../src/traits/Strings/StringStyleTrait.php | 2 + .../src/traits/Strings/StringSubjectTrait.php | 2 + .../src/traits/Strings/StringTableTrait.php | 2 + .../src/traits/Strings/StringTargetTrait.php | 2 + .../src/traits/Strings/StringTextTrait.php | 2 + .../src/traits/Strings/StringTitleTrait.php | 2 + .../src/traits/Strings/StringToTrait.php | 2 + .../src/traits/Strings/StringTokenTrait.php | 2 + .../src/traits/Strings/StringTooltipTrait.php | 2 + .../src/traits/Strings/StringTypeTrait.php | 2 + .../src/traits/Strings/StringUidTrait.php | 2 + .../src/traits/Strings/StringUriTrait.php | 2 + .../src/traits/Strings/StringUrlTrait.php | 2 + .../traits/Strings/StringUserAgentTrait.php | 2 + .../traits/Strings/StringUsernameTrait.php | 2 + .../src/traits/Strings/StringValueTrait.php | 2 + .../traits/Strings/StringVatNumberTrait.php | 2 + .../src/traits/Strings/StringVersionTrait.php | 2 + .../Exception/ArrayArgumentException.php | 2 + .../Exception/BooleanArgumentException.php | 2 + .../types/Exception/DateArgumentException.php | 2 + .../Exception/DoubleArgumentException.php | 2 + .../Exception/FloatArgumentException.php | 2 + .../Exception/IntegerArgumentException.php | 2 + .../Exception/NumberArgumentException.php | 2 + .../Exception/ObjectArgumentException.php | 2 + .../Exception/ResourceArgumentException.php | 2 + .../Exception/StringArgumentException.php | 2 + .../Exception/TimestampArgumentException.php | 2 + .../src/types/Factory/DateIntervalFactory.php | 2 + .../src/types/Factory/DateTimeFactory.php | 2 + .../src/types/Helper/ArrayHelper.php | 36 +- .../src/types/Helper/BooleanHelper.php | 2 + .../src/types/Helper/DateTimeHelper.php | 6 +- .../src/types/Helper/DateTimeMethod.php | 42 +- .../src/types/Helper/DateTimeZoneHelper.php | 2 + .../src/types/Helper/DoubleHelper.php | 2 + .../src/types/Helper/FloatHelper.php | 2 + .../src/types/Helper/IntegerHelper.php | 2 + .../src/types/Helper/NumberHelper.php | 2 + .../src/types/Helper/ObjectHelper.php | 4 +- .../src/types/Helper/ResourceHelper.php | 2 + .../src/types/Helper/StringHelper.php | 19 +- .../src/types/Helper/TimestampHelper.php | 4 +- .../core-library/src/types/TypeHelper.php | 2 + .../core-library/src/types/TypeInterface.php | 24 +- .../src/validator/AbstractValidator.php | 2 + .../src/validator/Api/RuleInterface.php | 2 + .../src/validator/Api/RuleSetInterface.php | 2 + .../src/validator/Api/StatusInterface.php | 2 + .../src/validator/Api/ValidatorInterface.php | 2 + .../src/validator/DefaultValidator.php | 2 + .../src/validator/Rule/AbstractRule.php | 2 + .../src/validator/RuleSet/AbstractRuleSet.php | 2 + .../src/validator/RuleSet/DefaultRuleSet.php | 2 + .../src/validator/Status/AbstractStatus.php | 3 + .../src/validator/Status/DefaultStatus.php | 2 + .../RegistrationCertificateFactory.php | 2 + .../vehicle/Factory/VehicleBrandFactory.php | 2 + .../vehicle/Model/RegistrationCertificate.php | 3 + .../RegistrationCertificateInterface.php | 2 + .../src/vehicle/Model/VehicleBrand.php | 3 + .../vehicle/Model/VehicleBrandInterface.php | 2 + .../src/vehicle/Serializer/JsonSerializer.php | 6 +- .../src/vehicle/Serializer/SerializerKeys.php | 94 +-- .../webeweb/core-library/util/workspace.php | 58 +- 1352 files changed, 4475 insertions(+), 1573 deletions(-) diff --git a/composer.lock b/composer.lock index b018e82..5f45e32 100644 --- a/composer.lock +++ b/composer.lock @@ -4,36 +4,38 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2f05d8ea0f4b0913782f767dbe3bf21f", + "content-hash": "32c5faf2b1980f07f0118545f18f206c", "packages": [ { "name": "doctrine/collections", - "version": "1.8.0", + "version": "2.2.2", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e" + "reference": "d8af7f248c74f195f7347424600fd9e17b57af59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/2b44dd4cbca8b5744327de78bafef5945c7e7b5e", - "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e", + "url": "https://api.github.com/repos/doctrine/collections/zipball/d8af7f248c74f195f7347424600fd9e17b57af59", + "reference": "d8af7f248c74f195f7347424600fd9e17b57af59", "shasum": "" }, "require": { - "doctrine/deprecations": "^0.5.3 || ^1", - "php": "^7.1.3 || ^8.0" + "doctrine/deprecations": "^1", + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9.0 || ^10.0", - "phpstan/phpstan": "^1.4.8", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.1.5", - "vimeo/psalm": "^4.22" + "doctrine/coding-standard": "^12", + "ext-json": "*", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^10.5", + "vimeo/psalm": "^5.11" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" + "Doctrine\\Common\\Collections\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -72,22 +74,36 @@ ], "support": { "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.8.0" + "source": "https://github.com/doctrine/collections/tree/2.2.2" }, - "time": "2022-09-01T20:12:10+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcollections", + "type": "tidelift" + } + ], + "time": "2024-04-18T06:56:21+00:00" }, { "name": "doctrine/deprecations", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", "shasum": "" }, "require": { @@ -119,9 +135,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.2" + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" }, - "time": "2023-09-27T20:04:15+00:00" + "time": "2024-01-30T19:34:25+00:00" }, { "name": "getkirby/composer-installer", @@ -172,22 +188,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.8.0", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", - "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -196,11 +212,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -278,7 +294,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.0" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -294,28 +310,28 @@ "type": "tidelift" } ], - "time": "2023-08-27T10:20:53+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "111166291a0f8130081195ac4556a5587d7f1b5d" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d", - "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { @@ -361,7 +377,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.1" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -377,20 +393,20 @@ "type": "tidelift" } ], - "time": "2023-08-03T15:11:55+00:00" + "time": "2024-07-18T10:29:17+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.6.1", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727", - "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -404,9 +420,9 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -477,7 +493,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.1" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -493,7 +509,7 @@ "type": "tidelift" } ], - "time": "2023-08-27T10:13:57+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "psr/http-client", @@ -549,20 +565,20 @@ }, { "name": "psr/http-factory", - "version": "1.0.2", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "e616d01114759c4c489f93b099585439f795fe35" + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", - "reference": "e616d01114759c4c489f93b099585439f795fe35", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.0.0", + "php": ">=7.1", "psr/http-message": "^1.0 || ^2.0" }, "type": "library", @@ -586,7 +602,7 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common interfaces for PSR-7 HTTP message factories", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ "factory", "http", @@ -598,9 +614,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2023-04-10T20:10:41+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", @@ -751,16 +767,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { @@ -769,7 +785,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -798,7 +814,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -814,24 +830,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.28.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -841,9 +857,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -880,7 +893,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -896,20 +909,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/yaml", - "version": "v6.4.0", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4f9237a1bb42455d609e6687d2613dde5b41a587" + "reference": "be37e7f13195e05ab84ca5269365591edd240335" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4f9237a1bb42455d609e6687d2613dde5b41a587", - "reference": "4f9237a1bb42455d609e6687d2613dde5b41a587", + "url": "https://api.github.com/repos/symfony/yaml/zipball/be37e7f13195e05ab84ca5269365591edd240335", + "reference": "be37e7f13195e05ab84ca5269365591edd240335", "shasum": "" }, "require": { @@ -952,7 +965,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.0" + "source": "https://github.com/symfony/yaml/tree/v6.4.11" }, "funding": [ { @@ -968,24 +981,24 @@ "type": "tidelift" } ], - "time": "2023-11-06T11:00:25+00:00" + "time": "2024-08-12T09:55:28+00:00" }, { "name": "webeweb/core-library", - "version": "v8.80.0", + "version": "v8.85.0", "source": { "type": "git", "url": "https://github.com/webeweb/core-library.git", - "reference": "88223004c48cf7c45df3b5dd6f995d5bd9ed7188" + "reference": "640586097490195b13a86da5bd145015833ecb58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webeweb/core-library/zipball/88223004c48cf7c45df3b5dd6f995d5bd9ed7188", - "reference": "88223004c48cf7c45df3b5dd6f995d5bd9ed7188", + "url": "https://api.github.com/repos/webeweb/core-library/zipball/640586097490195b13a86da5bd145015833ecb58", + "reference": "640586097490195b13a86da5bd145015833ecb58", "shasum": "" }, "require": { - "doctrine/collections": "^1.5", + "doctrine/collections": "^1.5|^2.0", "ext-curl": "*", "ext-dom": "*", "ext-fileinfo": "*", @@ -999,13 +1012,16 @@ "ext-zip": "*", "php": "^7.1|^8.0", "psr/log": "^1.0|^2.0|^3.0", - "symfony/yaml": "^3.0|^4.0|^5.0|^6.0" + "symfony/yaml": "^3.0|^4.0|^5.0|^6.0|^7.0" }, "conflict": { "webeweb/core-bundle": "<3.20" }, "require-dev": { "guzzlehttp/guzzle": "^6.0|^7.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^7.0|^9.0" }, "type": "library", @@ -1082,9 +1098,9 @@ ], "support": { "issues": "https://github.com/webeweb/core-library/issues", - "source": "https://github.com/webeweb/core-library/tree/v8.80.0" + "source": "https://github.com/webeweb/core-library/tree/v8.85.0" }, - "time": "2023-10-30T09:17:09+00:00" + "time": "2024-03-18T17:02:03+00:00" }, { "name": "webeweb/pexels-library", @@ -1210,16 +1226,16 @@ }, { "name": "claviska/simpleimage", - "version": "4.0.6", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/claviska/SimpleImage.git", - "reference": "969de5e61810ef91f6f83c475b192c4841367dfa" + "reference": "dfbe53c01dae8467468ef2b817c09b786a7839d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/claviska/SimpleImage/zipball/969de5e61810ef91f6f83c475b192c4841367dfa", - "reference": "969de5e61810ef91f6f83c475b192c4841367dfa", + "url": "https://api.github.com/repos/claviska/SimpleImage/zipball/dfbe53c01dae8467468ef2b817c09b786a7839d2", + "reference": "dfbe53c01dae8467468ef2b817c09b786a7839d2", "shasum": "" }, "require": { @@ -1251,7 +1267,7 @@ "description": "A PHP class that makes working with images as simple as possible.", "support": { "issues": "https://github.com/claviska/SimpleImage/issues", - "source": "https://github.com/claviska/SimpleImage/tree/4.0.6" + "source": "https://github.com/claviska/SimpleImage/tree/4.2.0" }, "funding": [ { @@ -1259,20 +1275,20 @@ "type": "github" } ], - "time": "2023-07-27T16:48:12+00:00" + "time": "2024-04-15T16:07:16+00:00" }, { "name": "composer/semver", - "version": "3.4.0", + "version": "3.4.2", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6", + "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6", "shasum": "" }, "require": { @@ -1324,7 +1340,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" + "source": "https://github.com/composer/semver/tree/3.4.2" }, "funding": [ { @@ -1340,7 +1356,7 @@ "type": "tidelift" } ], - "time": "2023-08-31T09:50:34+00:00" + "time": "2024-07-12T11:35:52+00:00" }, { "name": "doctrine/instantiator", @@ -1485,22 +1501,22 @@ }, { "name": "getkirby/cms", - "version": "4.0.1", + "version": "4.4.0", "source": { "type": "git", "url": "https://github.com/getkirby/kirby.git", - "reference": "b7b9862a240e789cebff5af04f4d9ff10f73d7e0" + "reference": "d14bc478632c3f1eec9b06ff2a5679ef1db2992e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getkirby/kirby/zipball/b7b9862a240e789cebff5af04f4d9ff10f73d7e0", - "reference": "b7b9862a240e789cebff5af04f4d9ff10f73d7e0", + "url": "https://api.github.com/repos/getkirby/kirby/zipball/d14bc478632c3f1eec9b06ff2a5679ef1db2992e", + "reference": "d14bc478632c3f1eec9b06ff2a5679ef1db2992e", "shasum": "" }, "require": { "christian-riesen/base32": "1.6.0", - "claviska/simpleimage": "4.0.6", - "composer/semver": "3.4.0", + "claviska/simpleimage": "4.2.0", + "composer/semver": "3.4.2", "ext-ctype": "*", "ext-curl": "*", "ext-dom": "*", @@ -1518,9 +1534,9 @@ "michelf/php-smartypants": "1.8.1", "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "phpmailer/phpmailer": "6.9.1", - "symfony/polyfill-intl-idn": "1.28.0", - "symfony/polyfill-mbstring": "1.28.0", - "symfony/yaml": "6.4.0" + "symfony/polyfill-intl-idn": "1.30.0", + "symfony/polyfill-mbstring": "1.30.0", + "symfony/yaml": "6.4.11" }, "replace": { "symfony/polyfill-php72": "*" @@ -1584,7 +1600,7 @@ "type": "custom" } ], - "time": "2023-11-30T14:39:55+00:00" + "time": "2024-09-12T12:27:21+00:00" }, { "name": "laminas/laminas-escaper", @@ -1765,16 +1781,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.11.1", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", "shasum": "" }, "require": { @@ -1782,11 +1798,12 @@ }, "conflict": { "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, "require-dev": { "doctrine/collections": "^1.6.8", "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", @@ -1812,7 +1829,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" }, "funding": [ { @@ -1820,29 +1837,31 @@ "type": "tidelift" } ], - "time": "2023-03-08T13:26:56+00:00" + "time": "2024-06-12T14:39:25+00:00" }, { "name": "nikic/php-parser", - "version": "v4.17.1", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -1850,7 +1869,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1874,26 +1893,27 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2023-08-13T19:53:39+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -1934,9 +1954,15 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -2044,28 +2070,35 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", + "version": "5.4.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", "shasum": "" }, "require": { + "doctrine/deprecations": "^1.1", "ext-filter": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", + "phpdocumentor/type-resolver": "^1.7", + "phpstan/phpdoc-parser": "^1.7", "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" + "mockery/mockery": "~1.3.5", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-webmozart-assert": "^1.2", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^5.13" }, "type": "library", "extra": { @@ -2089,33 +2122,33 @@ }, { "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "email": "opensource@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.1" }, - "time": "2021-10-19T17:43:47+00:00" + "time": "2024-05-21T05:55:05+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.7.3", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" + "reference": "153ae662783729388a584b4361f2545e4d841e3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/153ae662783729388a584b4361f2545e4d841e3c", + "reference": "153ae662783729388a584b4361f2545e4d841e3c", "shasum": "" }, "require": { "doctrine/deprecations": "^1.0", - "php": "^7.4 || ^8.0", + "php": "^7.3 || ^8.0", "phpdocumentor/reflection-common": "^2.0", "phpstan/phpdoc-parser": "^1.13" }, @@ -2153,9 +2186,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.2" }, - "time": "2023-08-12T11:01:26+00:00" + "time": "2024-02-23T11:10:43+00:00" }, { "name": "phpmailer/phpmailer", @@ -2240,29 +2273,29 @@ }, { "name": "phpspec/prophecy", - "version": "v1.17.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "15873c65b207b07765dbc3c95d20fdf4a320cbe2" + "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/15873c65b207b07765dbc3c95d20fdf4a320cbe2", - "reference": "15873c65b207b07765dbc3c95d20fdf4a320cbe2", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/67a759e7d8746d501c41536ba40cd9c0a07d6a87", + "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2 || ^2.0", - "php": "^7.2 || 8.0.* || 8.1.* || 8.2.*", + "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*", "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" + "sebastian/comparator": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { "phpspec/phpspec": "^6.0 || ^7.0", "phpstan/phpstan": "^1.9", - "phpunit/phpunit": "^8.0 || ^9.0" + "phpunit/phpunit": "^8.0 || ^9.0 || ^10.0" }, "type": "library", "extra": { @@ -2295,6 +2328,7 @@ "keywords": [ "Double", "Dummy", + "dev", "fake", "mock", "spy", @@ -2302,22 +2336,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.17.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.19.0" }, - "time": "2023-02-02T15:41:36+00:00" + "time": "2024-02-29T11:52:51+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.4", + "version": "1.30.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" + "reference": "51b95ec8670af41009e2b2b56873bad96682413e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51b95ec8670af41009e2b2b56873bad96682413e", + "reference": "51b95ec8670af41009e2b2b56873bad96682413e", "shasum": "" }, "require": { @@ -2349,41 +2383,41 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.1" }, - "time": "2023-11-26T18:29:22+00:00" + "time": "2024-09-07T20:13:05+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.29", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -2392,7 +2426,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -2421,7 +2455,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { @@ -2429,7 +2463,7 @@ "type": "github" } ], - "time": "2023-09-19T04:57:46+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2777,16 +2811,16 @@ }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { @@ -2821,7 +2855,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -2829,7 +2863,7 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { "name": "sebastian/code-unit", @@ -3018,20 +3052,20 @@ }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -3063,7 +3097,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -3071,20 +3105,20 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -3129,7 +3163,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -3137,7 +3171,7 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", @@ -3204,16 +3238,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { @@ -3269,7 +3303,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, "funding": [ { @@ -3277,20 +3311,20 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.6", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { @@ -3333,7 +3367,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -3341,24 +3375,24 @@ "type": "github" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -3390,7 +3424,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -3398,7 +3432,7 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", @@ -3577,16 +3611,16 @@ }, { "name": "sebastian/resource-operations", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { @@ -3598,7 +3632,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -3619,8 +3653,7 @@ "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -3628,7 +3661,7 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { "name": "sebastian/type", @@ -3741,16 +3774,16 @@ }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.28.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "ecaafce9f77234a6a449d29e49267ba10499116d" + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/ecaafce9f77234a6a449d29e49267ba10499116d", - "reference": "ecaafce9f77234a6a449d29e49267ba10499116d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", "shasum": "" }, "require": { @@ -3763,9 +3796,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3808,7 +3838,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" }, "funding": [ { @@ -3824,33 +3854,30 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:30:37+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3892,7 +3919,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -3908,20 +3935,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -3935,9 +3962,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3975,7 +3999,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -3991,20 +4015,20 @@ "type": "tidelift" } ], - "time": "2023-07-28T09:04:16+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -4033,7 +4057,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -4041,7 +4065,7 @@ "type": "github" } ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-03-03T12:36:25+00:00" }, { "name": "webmozart/assert", @@ -4108,7 +4132,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.2.0" + "php": ">=8.1.0" }, "platform-dev": [], "plugin-api-version": "2.3.0" diff --git a/index.js b/index.js index af46f6c..007a490 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -(function(){"use strict";const x="";function g(a,e,t,r,s,l,d,m){var i=typeof a=="function"?a.options:a;e&&(i.render=e,i.staticRenderFns=t,i._compiled=!0),r&&(i.functional=!0),l&&(i._scopeId="data-v-"+l);var o;if(d?(o=function(n){n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!n&&typeof __VUE_SSR_CONTEXT__<"u"&&(n=__VUE_SSR_CONTEXT__),s&&s.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(d)},i._ssrRegister=o):s&&(o=m?function(){s.call(this,(i.functional?this.parent:this).$root.$options.shadowRoot)}:s),o)if(i.functional){i._injectStyles=o;var v=i.render;i.render=function(k,p){return o.call(p),v(k,p)}}else{var h=i.beforeCreate;i.beforeCreate=h?[].concat(h,o):[o]}return{exports:a,options:i}}const c={props:{label:String,value:String,downloadSize:String},data:function(){return{items:[],selectedPhoto:{id:"",photo:"",photographer:"",photographerUrl:"",downloadUrl:""},keyword:"",pexelPage:1,perPage:1,remaining:0,totalResults:0,loading:!1,downloaded:!1}},computed:{pageId(){return this.$store.getters["content/id"]()},pages(){return Math.round(this.totalResults/this.perPage,10)}},methods:{onInput(a){this.keyword=a},onSubmit(a){this.timer!==null&&clearTimeout(this.timer),!(this.keyword.length<3)&&(this.timer=setTimeout(()=>{this.search(this.keyword)},250))},showNext(){this.pexelPage*this.perPage>this.remaining||(this.pexelPage++,this.search(this.keyword))},showPrev(){this.pexelPage!==1&&(this.pexelPage--,this.search(this.keyword))},search(a){this.loading=!0,this.$api.get(`pexels/search/${a}/${this.pexelPage}/${this.downloadSize}`).then(e=>{this.page=e.page,this.perPage=e.perPage,this.remaining=e.remaining,this.totalResults=e.totalResults,this.loading=!1,this.items=e.photos.map(t=>({id:t.id,downloadUrl:t.downloadUrl,link:t.downloadUrl,photographer:t.photographer,photographerUrl:t.photographerUrl,text:`${t.photographer}
${t.width} × ${t.height}`,options:[{icon:"open",text:"View",link:t.downloadUrl,target:"_blank"},{icon:"download",text:"Download",click:()=>{this.downloadImage(t.id)}}],image:{src:t.small,width:t.width}}))})},downloadImage(a){this.downloaded=!1;const e=this.items.find(r=>r.id===a),t=e.text;e.text="Downloading…",panel.api.post("pexels/download",{imageId:a,pageId:this.pageId.split("?")[0],downloadUrl:e.downloadUrl,photographer:e.photographer,photographerUrl:e.photographerUrl}).then(()=>{this.downloaded=!1,panel.view.reload(),window.panel.notification.success("Image downloaded"),e.text=t}).catch(()=>{this.downloaded=!1,window.panel.notification.error("Image download failed"),e.text=t})}}};var u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"k-pexels-field"},[t("k-field",{attrs:{label:e.label}},[t("k-input",{attrs:{theme:"field",icon:"search",type:"text",name:"textfield",value:e.value},on:{input:e.onInput,keyup:e.onSubmit}})],1),t("div",[e.loading?t("div",{staticClass:"loader"},[t("div",[t("k-icon",{attrs:{type:"loader"}})],1)]):t("div",{staticClass:"imagegrid"},[t("k-collection",{attrs:{layout:"cards",items:e.items}}),e.pages>0?t("div",{staticClass:"prev-next"},[t("button",{staticClass:"k-link k-button",on:{click:e.showPrev}},[t("k-icon",{attrs:{type:"angle-left"}})],1),t("span",[e._v(e._s(e.pexelPage)+" of "+e._s(e.pages))]),t("button",{staticClass:"k-link k-button",on:{click:e.showNext}},[t("k-icon",{attrs:{type:"angle-right"}})],1)]):e._e()],1)])],1)},f=[],_=g(c,u,f,!1,null,null,null,null);const w=_.exports;panel.plugin("mauricerenck/PexelsImageField",{fields:{pexels:w}})})(); +(function(){"use strict";function n(i,e,t,o,p,c,g,u){var a=typeof i=="function"?i.options:i;return e&&(a.render=e,a.staticRenderFns=t,a._compiled=!0),{exports:i,options:a}}const s={props:{label:String,value:String,downloadSize:String},data:function(){return{items:[],selectedPhoto:{id:"",photo:"",photographer:"",photographerUrl:"",downloadUrl:""},keyword:"",pexelPage:1,perPage:1,remaining:0,totalResults:0,loading:!1,downloaded:!1}},computed:{pageId(){return this.$store.getters["content/id"]()},pages(){return Math.round(this.totalResults/this.perPage,10)}},methods:{onInput(i){this.keyword=i},onSubmit(i){this.timer!==null&&clearTimeout(this.timer),!(this.keyword.length<3)&&(this.timer=setTimeout(()=>{this.search(this.keyword)},250))},showNext(){this.pexelPage*this.perPage>this.remaining||(this.pexelPage++,this.search(this.keyword))},showPrev(){this.pexelPage!==1&&(this.pexelPage--,this.search(this.keyword))},search(i){this.loading=!0,this.$api.get(`pexels/search/${i}/${this.pexelPage}/${this.downloadSize}`).then(e=>{this.page=e.page,this.perPage=e.perPage,this.remaining=e.remaining,this.totalResults=e.totalResults,this.loading=!1,this.items=e.photos.map(t=>({id:t.id,downloadUrl:t.downloadUrl,link:t.downloadUrl,photographer:t.photographer,photographerUrl:t.photographerUrl,text:`${t.photographer}
${t.width} × ${t.height}`,options:[{icon:"open",text:"View",link:t.downloadUrl,target:"_blank"},{icon:"download",text:"Download",click:()=>{this.downloadImage(t.id)}}],image:{src:t.small,width:t.width}}))})},downloadImage(i){this.downloaded=!1;const e=this.items.find(o=>o.id===i),t=e.text;e.text="Downloading…",panel.api.post("pexels/download",{imageId:i,pageId:this.pageId.split("?")[0],downloadUrl:e.downloadUrl,photographer:e.photographer,photographerUrl:e.photographerUrl}).then(()=>{this.downloaded=!1,panel.view.reload(),window.panel.notification.success("Image downloaded"),e.text=t}).catch(()=>{this.downloaded=!1,window.panel.notification.error("Image download failed"),e.text=t})}}};var l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"k-pexels-field"},[t("k-field",{attrs:{label:e.label}},[t("k-input",{attrs:{theme:"field",icon:"search",type:"text",name:"textfield",value:e.value},on:{input:e.onInput,keyup:e.onSubmit}})],1),t("div",[e.loading?t("div",{staticClass:"loader"},[t("div",[t("k-icon",{attrs:{type:"loader"}})],1)]):t("div",{staticClass:"imagegrid"},[t("k-collection",{attrs:{layout:"cards",items:e.items}}),e.pages>0?t("div",{staticClass:"prev-next"},[t("button",{staticClass:"k-link k-button",on:{click:e.showPrev}},[t("k-icon",{attrs:{type:"angle-left"}})],1),t("span",[e._v(e._s(e.pexelPage)+" of "+e._s(e.pages))]),t("button",{staticClass:"k-link k-button",on:{click:e.showNext}},[t("k-icon",{attrs:{type:"angle-right"}})],1)]):e._e()],1)])],1)},r=[],d=n(s,l,r);const h=d.exports;panel.plugin("mauricerenck/PexelsImageField",{fields:{pexels:h}})})(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index cc6a9b0..2704381 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -7,19 +7,20 @@ return array( 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', - 'Doctrine\\Common\\Collections\\AbstractLazyCollection' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php', - 'Doctrine\\Common\\Collections\\ArrayCollection' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php', - 'Doctrine\\Common\\Collections\\Collection' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php', - 'Doctrine\\Common\\Collections\\Criteria' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php', - 'Doctrine\\Common\\Collections\\Expr\\ClosureExpressionVisitor' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/ClosureExpressionVisitor.php', - 'Doctrine\\Common\\Collections\\Expr\\Comparison' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Comparison.php', - 'Doctrine\\Common\\Collections\\Expr\\CompositeExpression' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/CompositeExpression.php', - 'Doctrine\\Common\\Collections\\Expr\\Expression' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Expression.php', - 'Doctrine\\Common\\Collections\\Expr\\ExpressionVisitor' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/ExpressionVisitor.php', - 'Doctrine\\Common\\Collections\\Expr\\Value' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Value.php', - 'Doctrine\\Common\\Collections\\ExpressionBuilder' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php', - 'Doctrine\\Common\\Collections\\ReadableCollection' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/ReadableCollection.php', - 'Doctrine\\Common\\Collections\\Selectable' => $vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections/Selectable.php', + 'Doctrine\\Common\\Collections\\AbstractLazyCollection' => $vendorDir . '/doctrine/collections/src/AbstractLazyCollection.php', + 'Doctrine\\Common\\Collections\\ArrayCollection' => $vendorDir . '/doctrine/collections/src/ArrayCollection.php', + 'Doctrine\\Common\\Collections\\Collection' => $vendorDir . '/doctrine/collections/src/Collection.php', + 'Doctrine\\Common\\Collections\\Criteria' => $vendorDir . '/doctrine/collections/src/Criteria.php', + 'Doctrine\\Common\\Collections\\Expr\\ClosureExpressionVisitor' => $vendorDir . '/doctrine/collections/src/Expr/ClosureExpressionVisitor.php', + 'Doctrine\\Common\\Collections\\Expr\\Comparison' => $vendorDir . '/doctrine/collections/src/Expr/Comparison.php', + 'Doctrine\\Common\\Collections\\Expr\\CompositeExpression' => $vendorDir . '/doctrine/collections/src/Expr/CompositeExpression.php', + 'Doctrine\\Common\\Collections\\Expr\\Expression' => $vendorDir . '/doctrine/collections/src/Expr/Expression.php', + 'Doctrine\\Common\\Collections\\Expr\\ExpressionVisitor' => $vendorDir . '/doctrine/collections/src/Expr/ExpressionVisitor.php', + 'Doctrine\\Common\\Collections\\Expr\\Value' => $vendorDir . '/doctrine/collections/src/Expr/Value.php', + 'Doctrine\\Common\\Collections\\ExpressionBuilder' => $vendorDir . '/doctrine/collections/src/ExpressionBuilder.php', + 'Doctrine\\Common\\Collections\\Order' => $vendorDir . '/doctrine/collections/src/Order.php', + 'Doctrine\\Common\\Collections\\ReadableCollection' => $vendorDir . '/doctrine/collections/src/ReadableCollection.php', + 'Doctrine\\Common\\Collections\\Selectable' => $vendorDir . '/doctrine/collections/src/Selectable.php', 'Doctrine\\Deprecations\\Deprecation' => $vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php', 'Doctrine\\Deprecations\\PHPUnit\\VerifyDeprecations' => $vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations/PHPUnit/VerifyDeprecations.php', 'GuzzleHttp\\BodySummarizer' => $vendorDir . '/guzzlehttp/guzzle/src/BodySummarizer.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 639e9f7..e0c3093 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -43,5 +43,5 @@ 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), 'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations'), - 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/lib/Doctrine/Common/Collections'), + 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/src'), ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 0a4df4d..1b01b2d 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -227,25 +227,26 @@ class ComposerStaticInitd6dab7feb2c0432282fb013bfa43cbe9 ), 'Doctrine\\Common\\Collections\\' => array ( - 0 => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections', + 0 => __DIR__ . '/..' . '/doctrine/collections/src', ), ); public static $classMap = array ( 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - 'Doctrine\\Common\\Collections\\AbstractLazyCollection' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php', - 'Doctrine\\Common\\Collections\\ArrayCollection' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php', - 'Doctrine\\Common\\Collections\\Collection' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php', - 'Doctrine\\Common\\Collections\\Criteria' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php', - 'Doctrine\\Common\\Collections\\Expr\\ClosureExpressionVisitor' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/ClosureExpressionVisitor.php', - 'Doctrine\\Common\\Collections\\Expr\\Comparison' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Comparison.php', - 'Doctrine\\Common\\Collections\\Expr\\CompositeExpression' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/CompositeExpression.php', - 'Doctrine\\Common\\Collections\\Expr\\Expression' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Expression.php', - 'Doctrine\\Common\\Collections\\Expr\\ExpressionVisitor' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/ExpressionVisitor.php', - 'Doctrine\\Common\\Collections\\Expr\\Value' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Value.php', - 'Doctrine\\Common\\Collections\\ExpressionBuilder' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php', - 'Doctrine\\Common\\Collections\\ReadableCollection' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/ReadableCollection.php', - 'Doctrine\\Common\\Collections\\Selectable' => __DIR__ . '/..' . '/doctrine/collections/lib/Doctrine/Common/Collections/Selectable.php', + 'Doctrine\\Common\\Collections\\AbstractLazyCollection' => __DIR__ . '/..' . '/doctrine/collections/src/AbstractLazyCollection.php', + 'Doctrine\\Common\\Collections\\ArrayCollection' => __DIR__ . '/..' . '/doctrine/collections/src/ArrayCollection.php', + 'Doctrine\\Common\\Collections\\Collection' => __DIR__ . '/..' . '/doctrine/collections/src/Collection.php', + 'Doctrine\\Common\\Collections\\Criteria' => __DIR__ . '/..' . '/doctrine/collections/src/Criteria.php', + 'Doctrine\\Common\\Collections\\Expr\\ClosureExpressionVisitor' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/ClosureExpressionVisitor.php', + 'Doctrine\\Common\\Collections\\Expr\\Comparison' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/Comparison.php', + 'Doctrine\\Common\\Collections\\Expr\\CompositeExpression' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/CompositeExpression.php', + 'Doctrine\\Common\\Collections\\Expr\\Expression' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/Expression.php', + 'Doctrine\\Common\\Collections\\Expr\\ExpressionVisitor' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/ExpressionVisitor.php', + 'Doctrine\\Common\\Collections\\Expr\\Value' => __DIR__ . '/..' . '/doctrine/collections/src/Expr/Value.php', + 'Doctrine\\Common\\Collections\\ExpressionBuilder' => __DIR__ . '/..' . '/doctrine/collections/src/ExpressionBuilder.php', + 'Doctrine\\Common\\Collections\\Order' => __DIR__ . '/..' . '/doctrine/collections/src/Order.php', + 'Doctrine\\Common\\Collections\\ReadableCollection' => __DIR__ . '/..' . '/doctrine/collections/src/ReadableCollection.php', + 'Doctrine\\Common\\Collections\\Selectable' => __DIR__ . '/..' . '/doctrine/collections/src/Selectable.php', 'Doctrine\\Deprecations\\Deprecation' => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php', 'Doctrine\\Deprecations\\PHPUnit\\VerifyDeprecations' => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations/PHPUnit/VerifyDeprecations.php', 'GuzzleHttp\\BodySummarizer' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/BodySummarizer.php', diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index f662798..b77db7c 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'mauricerenck/pexelsimagefield', - 'pretty_version' => '1.1.0', - 'version' => '1.1.0.0', + 'pretty_version' => '2.0.0', + 'version' => '2.0.0.0', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -11,18 +11,18 @@ ), 'versions' => array( 'doctrine/collections' => array( - 'pretty_version' => '1.8.0', - 'version' => '1.8.0.0', - 'reference' => '2b44dd4cbca8b5744327de78bafef5945c7e7b5e', + 'pretty_version' => '2.2.2', + 'version' => '2.2.2.0', + 'reference' => 'd8af7f248c74f195f7347424600fd9e17b57af59', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/collections', 'aliases' => array(), 'dev_requirement' => false, ), 'doctrine/deprecations' => array( - 'pretty_version' => '1.1.2', - 'version' => '1.1.2.0', - 'reference' => '4f2d4f2836e7ec4e7a8625e75c6aa916004db931', + 'pretty_version' => '1.1.3', + 'version' => '1.1.3.0', + 'reference' => 'dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/deprecations', 'aliases' => array(), @@ -38,35 +38,35 @@ 'dev_requirement' => false, ), 'guzzlehttp/guzzle' => array( - 'pretty_version' => '7.8.0', - 'version' => '7.8.0.0', - 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', + 'pretty_version' => '7.9.2', + 'version' => '7.9.2.0', + 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => false, ), 'guzzlehttp/promises' => array( - 'pretty_version' => '2.0.1', - 'version' => '2.0.1.0', - 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', + 'pretty_version' => '2.0.3', + 'version' => '2.0.3.0', + 'reference' => '6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => false, ), 'guzzlehttp/psr7' => array( - 'pretty_version' => '2.6.1', - 'version' => '2.6.1.0', - 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', + 'pretty_version' => '2.7.0', + 'version' => '2.7.0.0', + 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => false, ), 'mauricerenck/pexelsimagefield' => array( - 'pretty_version' => '1.1.0', - 'version' => '1.1.0.0', + 'pretty_version' => '2.0.0', + 'version' => '2.0.0.0', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -89,9 +89,9 @@ ), ), 'psr/http-factory' => array( - 'pretty_version' => '1.0.2', - 'version' => '1.0.2.0', - 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', + 'pretty_version' => '1.1.0', + 'version' => '1.1.0.0', + 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), @@ -137,36 +137,36 @@ 'dev_requirement' => false, ), 'symfony/deprecation-contracts' => array( - 'pretty_version' => 'v3.4.0', - 'version' => '3.4.0.0', - 'reference' => '7c3aff79d10325257a001fcf92d991f24fc967cf', + 'pretty_version' => 'v3.5.0', + 'version' => '3.5.0.0', + 'reference' => '0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => false, ), 'symfony/polyfill-ctype' => array( - 'pretty_version' => 'v1.28.0', - 'version' => '1.28.0.0', - 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', + 'pretty_version' => 'v1.31.0', + 'version' => '1.31.0.0', + 'reference' => 'a3cc8b044a6ea513310cbd48ef7333b384945638', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => false, ), 'symfony/yaml' => array( - 'pretty_version' => 'v6.4.0', - 'version' => '6.4.0.0', - 'reference' => '4f9237a1bb42455d609e6687d2613dde5b41a587', + 'pretty_version' => 'v6.4.11', + 'version' => '6.4.11.0', + 'reference' => 'be37e7f13195e05ab84ca5269365591edd240335', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'dev_requirement' => false, ), 'webeweb/core-library' => array( - 'pretty_version' => 'v8.80.0', - 'version' => '8.80.0.0', - 'reference' => '88223004c48cf7c45df3b5dd6f995d5bd9ed7188', + 'pretty_version' => 'v8.85.0', + 'version' => '8.85.0.0', + 'reference' => '640586097490195b13a86da5bd145015833ecb58', 'type' => 'library', 'install_path' => __DIR__ . '/../webeweb/core-library', 'aliases' => array(), diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php index d32d90c..4c3a5d6 100644 --- a/vendor/composer/platform_check.php +++ b/vendor/composer/platform_check.php @@ -4,8 +4,8 @@ $issues = array(); -if (!(PHP_VERSION_ID >= 80200)) { - $issues[] = 'Your Composer dependencies require a PHP version ">= 8.2.0". You are running ' . PHP_VERSION . '.'; +if (!(PHP_VERSION_ID >= 80100)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.'; } if ($issues) { diff --git a/vendor/guzzlehttp/guzzle/src/BodySummarizer.php b/vendor/guzzlehttp/guzzle/src/BodySummarizer.php index 6eca94e..761506d 100644 --- a/vendor/guzzlehttp/guzzle/src/BodySummarizer.php +++ b/vendor/guzzlehttp/guzzle/src/BodySummarizer.php @@ -11,7 +11,7 @@ final class BodySummarizer implements BodySummarizerInterface */ private $truncateAt; - public function __construct(int $truncateAt = null) + public function __construct(?int $truncateAt = null) { $this->truncateAt = $truncateAt; } @@ -22,7 +22,7 @@ public function __construct(int $truncateAt = null) public function summarize(MessageInterface $message): ?string { return $this->truncateAt === null - ? \GuzzleHttp\Psr7\Message::bodySummary($message) - : \GuzzleHttp\Psr7\Message::bodySummary($message, $this->truncateAt); + ? Psr7\Message::bodySummary($message) + : Psr7\Message::bodySummary($message, $this->truncateAt); } } diff --git a/vendor/guzzlehttp/guzzle/src/Client.php b/vendor/guzzlehttp/guzzle/src/Client.php index bc6efc9..c78919a 100644 --- a/vendor/guzzlehttp/guzzle/src/Client.php +++ b/vendor/guzzlehttp/guzzle/src/Client.php @@ -52,7 +52,7 @@ class Client implements ClientInterface, \Psr\Http\Client\ClientInterface * * @param array $config Client configuration settings. * - * @see \GuzzleHttp\RequestOptions for a list of available request options. + * @see RequestOptions for a list of available request options. */ public function __construct(array $config = []) { @@ -202,7 +202,7 @@ public function request(string $method, $uri = '', array $options = []): Respons * * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0. */ - public function getConfig(string $option = null) + public function getConfig(?string $option = null) { return $option === null ? $this->config diff --git a/vendor/guzzlehttp/guzzle/src/ClientInterface.php b/vendor/guzzlehttp/guzzle/src/ClientInterface.php index 1788e16..6aaee61 100644 --- a/vendor/guzzlehttp/guzzle/src/ClientInterface.php +++ b/vendor/guzzlehttp/guzzle/src/ClientInterface.php @@ -80,5 +80,5 @@ public function requestAsync(string $method, $uri, array $options = []): Promise * * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0. */ - public function getConfig(string $option = null); + public function getConfig(?string $option = null); } diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php index fa2b10a..b616cf2 100644 --- a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php +++ b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php @@ -103,7 +103,7 @@ public function toArray(): array }, $this->getIterator()->getArrayCopy()); } - public function clear(string $domain = null, string $path = null, string $name = null): void + public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void { if (!$domain) { $this->cookies = []; @@ -243,7 +243,7 @@ public function extractCookies(RequestInterface $request, ResponseInterface $res /** * Computes cookie path following RFC 6265 section 5.1.4 * - * @see https://tools.ietf.org/html/rfc6265#section-5.1.4 + * @see https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4 */ private function getCookiePathFromRequest(RequestInterface $request): string { diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php index 8c55cc6..93ada58 100644 --- a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php +++ b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php @@ -62,7 +62,7 @@ public function setCookie(SetCookie $cookie): bool; * @param string|null $path Clears cookies matching a domain and path * @param string|null $name Clears cookies matching a domain, path, and name */ - public function clear(string $domain = null, string $path = null, string $name = null): void; + public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void; /** * Discard all sessions cookies. diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php index d74915b..c9806da 100644 --- a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php +++ b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php @@ -420,7 +420,7 @@ public function matchesDomain(string $domain): bool } // Remove the leading '.' as per spec in RFC 6265. - // https://tools.ietf.org/html/rfc6265#section-5.2.3 + // https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.3 $cookieDomain = \ltrim(\strtolower($cookieDomain), '.'); $domain = \strtolower($domain); @@ -431,7 +431,7 @@ public function matchesDomain(string $domain): bool } // Matching the subdomain according to RFC 6265. - // https://tools.ietf.org/html/rfc6265#section-5.1.3 + // https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.3 if (\filter_var($domain, \FILTER_VALIDATE_IP)) { return false; } diff --git a/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php b/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php index a80956c..ba67ad4 100644 --- a/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php +++ b/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php @@ -14,7 +14,7 @@ public function __construct( string $message, RequestInterface $request, ResponseInterface $response, - \Throwable $previous = null, + ?\Throwable $previous = null, array $handlerContext = [] ) { parent::__construct($message, $request, $response, $previous, $handlerContext); diff --git a/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php b/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php index e1a3151..eab51ca 100644 --- a/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php +++ b/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php @@ -25,7 +25,7 @@ class ConnectException extends TransferException implements NetworkExceptionInte public function __construct( string $message, RequestInterface $request, - \Throwable $previous = null, + ?\Throwable $previous = null, array $handlerContext = [] ) { parent::__construct($message, 0, $previous); diff --git a/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php b/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php index c2d0a9c..b42c88a 100644 --- a/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php +++ b/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php @@ -7,7 +7,6 @@ use Psr\Http\Client\RequestExceptionInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\UriInterface; /** * HTTP Request exception @@ -32,8 +31,8 @@ class RequestException extends TransferException implements RequestExceptionInte public function __construct( string $message, RequestInterface $request, - ResponseInterface $response = null, - \Throwable $previous = null, + ?ResponseInterface $response = null, + ?\Throwable $previous = null, array $handlerContext = [] ) { // Set the code of the exception if the response is set and not future. @@ -63,10 +62,10 @@ public static function wrapException(RequestInterface $request, \Throwable $e): */ public static function create( RequestInterface $request, - ResponseInterface $response = null, - \Throwable $previous = null, + ?ResponseInterface $response = null, + ?\Throwable $previous = null, array $handlerContext = [], - BodySummarizerInterface $bodySummarizer = null + ?BodySummarizerInterface $bodySummarizer = null ): self { if (!$response) { return new self( @@ -90,8 +89,7 @@ public static function create( $className = __CLASS__; } - $uri = $request->getUri(); - $uri = static::obfuscateUri($uri); + $uri = \GuzzleHttp\Psr7\Utils::redactUserInfo($request->getUri()); // Client Error: `GET /` resulted in a `404 Not Found` response: // ... (truncated) @@ -113,20 +111,6 @@ public static function create( return new $className($message, $request, $response, $previous, $handlerContext); } - /** - * Obfuscates URI if there is a username and a password present - */ - private static function obfuscateUri(UriInterface $uri): UriInterface - { - $userInfo = $uri->getUserInfo(); - - if (false !== ($pos = \strpos($userInfo, ':'))) { - return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***'); - } - - return $uri; - } - /** * Get the request that caused the exception */ diff --git a/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php b/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php index be88d9e..fe36137 100644 --- a/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php +++ b/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php @@ -11,6 +11,7 @@ use GuzzleHttp\TransferStats; use GuzzleHttp\Utils; use Psr\Http\Message\RequestInterface; +use Psr\Http\Message\UriInterface; /** * Creates curl resources from a request @@ -46,6 +47,16 @@ public function __construct(int $maxHandles) public function create(RequestInterface $request, array $options): EasyHandle { + $protocolVersion = $request->getProtocolVersion(); + + if ('2' === $protocolVersion || '2.0' === $protocolVersion) { + if (!self::supportsHttp2()) { + throw new ConnectException('HTTP/2 is supported by the cURL handler, however libcurl is built without HTTP/2 support.', $request); + } + } elseif ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) { + throw new ConnectException(sprintf('HTTP/%s is not supported by the cURL handler.', $protocolVersion), $request); + } + if (isset($options['curl']['body_as_string'])) { $options['_body_as_string'] = $options['curl']['body_as_string']; unset($options['curl']['body_as_string']); @@ -72,6 +83,42 @@ public function create(RequestInterface $request, array $options): EasyHandle return $easy; } + private static function supportsHttp2(): bool + { + static $supportsHttp2 = null; + + if (null === $supportsHttp2) { + $supportsHttp2 = self::supportsTls12() + && defined('CURL_VERSION_HTTP2') + && (\CURL_VERSION_HTTP2 & \curl_version()['features']); + } + + return $supportsHttp2; + } + + private static function supportsTls12(): bool + { + static $supportsTls12 = null; + + if (null === $supportsTls12) { + $supportsTls12 = \CURL_SSLVERSION_TLSv1_2 & \curl_version()['features']; + } + + return $supportsTls12; + } + + private static function supportsTls13(): bool + { + static $supportsTls13 = null; + + if (null === $supportsTls13) { + $supportsTls13 = defined('CURL_SSLVERSION_TLSv1_3') + && (\CURL_SSLVERSION_TLSv1_3 & \curl_version()['features']); + } + + return $supportsTls13; + } + public function release(EasyHandle $easy): void { $resource = $easy->handle; @@ -147,7 +194,7 @@ private static function finishError(callable $handler, EasyHandle $easy, CurlFac 'error' => \curl_error($easy->handle), 'appconnect_time' => \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME), ] + \curl_getinfo($easy->handle); - $ctx[self::CURL_VERSION_STR] = \curl_version()['version']; + $ctx[self::CURL_VERSION_STR] = self::getCurlVersion(); $factory->release($easy); // Retry when nothing is present or when curl failed to rewind. @@ -158,6 +205,17 @@ private static function finishError(callable $handler, EasyHandle $easy, CurlFac return self::createRejection($easy, $ctx); } + private static function getCurlVersion(): string + { + static $curlVersion = null; + + if (null === $curlVersion) { + $curlVersion = \curl_version()['version']; + } + + return $curlVersion; + } + private static function createRejection(EasyHandle $easy, array $ctx): PromiseInterface { static $connectionErrors = [ @@ -194,15 +252,22 @@ private static function createRejection(EasyHandle $easy, array $ctx): PromiseIn ); } + $uri = $easy->request->getUri(); + + $sanitizedError = self::sanitizeCurlError($ctx['error'] ?? '', $uri); + $message = \sprintf( 'cURL error %s: %s (%s)', $ctx['errno'], - $ctx['error'], + $sanitizedError, 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html' ); - $uriString = (string) $easy->request->getUri(); - if ($uriString !== '' && false === \strpos($ctx['error'], $uriString)) { - $message .= \sprintf(' for %s', $uriString); + + if ('' !== $sanitizedError) { + $redactedUriString = \GuzzleHttp\Psr7\Utils::redactUserInfo($uri)->__toString(); + if ($redactedUriString !== '' && false === \strpos($sanitizedError, $redactedUriString)) { + $message .= \sprintf(' for %s', $redactedUriString); + } } // Create a connection exception if it was a specific error code. @@ -213,6 +278,24 @@ private static function createRejection(EasyHandle $easy, array $ctx): PromiseIn return P\Create::rejectionFor($error); } + private static function sanitizeCurlError(string $error, UriInterface $uri): string + { + if ('' === $error) { + return $error; + } + + $baseUri = $uri->withQuery('')->withFragment(''); + $baseUriString = $baseUri->__toString(); + + if ('' === $baseUriString) { + return $error; + } + + $redactedUriString = \GuzzleHttp\Psr7\Utils::redactUserInfo($baseUri)->__toString(); + + return str_replace($baseUriString, $redactedUriString, $error); + } + /** * @return array */ @@ -232,10 +315,11 @@ private function getDefaultConf(EasyHandle $easy): array } $version = $easy->request->getProtocolVersion(); - if ($version == 1.1) { - $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1; - } elseif ($version == 2.0) { + + if ('2' === $version || '2.0' === $version) { $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2_0; + } elseif ('1.1' === $version) { + $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1; } else { $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_0; } @@ -256,7 +340,7 @@ private function applyMethod(EasyHandle $easy, array &$conf): void $method = $easy->request->getMethod(); if ($method === 'PUT' || $method === 'POST') { - // See https://tools.ietf.org/html/rfc7230#section-3.3.2 + // See https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2 if (!$easy->request->hasHeader('Content-Length')) { $conf[\CURLOPT_HTTPHEADER][] = 'Content-Length: 0'; } @@ -390,8 +474,10 @@ private function applyHandlerOptions(EasyHandle $easy, array &$conf): void // The empty string enables all available decoders and implicitly // sets a matching 'Accept-Encoding' header. $conf[\CURLOPT_ENCODING] = ''; - // But as the user did not specify any acceptable encodings we need - // to overwrite this implicit header with an empty one. + // But as the user did not specify any encoding preference, + // let's leave it up to server by preventing curl from sending + // the header, which will be interpreted as 'Accept-Encoding: *'. + // https://www.rfc-editor.org/rfc/rfc9110#field.accept-encoding $conf[\CURLOPT_HTTPHEADER][] = 'Accept-Encoding:'; } } @@ -455,23 +541,35 @@ private function applyHandlerOptions(EasyHandle $easy, array &$conf): void } if (isset($options['crypto_method'])) { - if (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) { - if (!defined('CURL_SSLVERSION_TLSv1_0')) { - throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.0 not supported by your version of cURL'); + $protocolVersion = $easy->request->getProtocolVersion(); + + // If HTTP/2, upgrade TLS 1.0 and 1.1 to 1.2 + if ('2' === $protocolVersion || '2.0' === $protocolVersion) { + if ( + \STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method'] + || \STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method'] + || \STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method'] + ) { + $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2; + } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) { + if (!self::supportsTls13()) { + throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL'); + } + $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_3; + } else { + throw new \InvalidArgumentException('Invalid crypto_method request option: unknown version provided'); } + } elseif (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) { $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_0; } elseif (\STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method']) { - if (!defined('CURL_SSLVERSION_TLSv1_1')) { - throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.1 not supported by your version of cURL'); - } $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_1; } elseif (\STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method']) { - if (!defined('CURL_SSLVERSION_TLSv1_2')) { + if (!self::supportsTls12()) { throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.2 not supported by your version of cURL'); } $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2; } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) { - if (!defined('CURL_SSLVERSION_TLSv1_3')) { + if (!self::supportsTls13()) { throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL'); } $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_3; diff --git a/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php index a64e182..73a6abe 100644 --- a/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php +++ b/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php @@ -2,6 +2,7 @@ namespace GuzzleHttp\Handler; +use Closure; use GuzzleHttp\Promise as P; use GuzzleHttp\Promise\Promise; use GuzzleHttp\Promise\PromiseInterface; @@ -159,6 +160,9 @@ public function tick(): void } } + // Run curl_multi_exec in the queue to enable other async tasks to run + P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue'])); + // Step through the task queue which may add additional requests. P\Utils::queue()->run(); @@ -169,11 +173,24 @@ public function tick(): void } while (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) { + // Prevent busy looping for slow HTTP requests. + \curl_multi_select($this->_mh, $this->selectTimeout); } $this->processMessages(); } + /** + * Runs \curl_multi_exec() inside the event loop, to prevent busy looping + */ + private function tickInQueue(): void + { + if (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) { + \curl_multi_select($this->_mh, 0); + P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue'])); + } + } + /** * Runs until all outstanding connections have completed. */ diff --git a/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php index 77ffed5..3ecd596 100644 --- a/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php +++ b/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php @@ -52,21 +52,21 @@ class MockHandler implements \Countable * @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled. * @param callable|null $onRejected Callback to invoke when the return value is rejected. */ - public static function createWithMiddleware(array $queue = null, callable $onFulfilled = null, callable $onRejected = null): HandlerStack + public static function createWithMiddleware(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null): HandlerStack { return HandlerStack::create(new self($queue, $onFulfilled, $onRejected)); } /** * The passed in value must be an array of - * {@see \Psr\Http\Message\ResponseInterface} objects, Exceptions, + * {@see ResponseInterface} objects, Exceptions, * callables, or Promises. * * @param array|null $queue The parameters to be passed to the append function, as an indexed array. * @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled. * @param callable|null $onRejected Callback to invoke when the return value is rejected. */ - public function __construct(array $queue = null, callable $onFulfilled = null, callable $onRejected = null) + public function __construct(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null) { $this->onFulfilled = $onFulfilled; $this->onRejected = $onRejected; @@ -200,7 +200,7 @@ public function reset(): void private function invokeStats( RequestInterface $request, array $options, - ResponseInterface $response = null, + ?ResponseInterface $response = null, $reason = null ): void { if (isset($options['on_stats'])) { diff --git a/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php index 61632f5..1d89a8f 100644 --- a/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php +++ b/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php @@ -40,6 +40,12 @@ public function __invoke(RequestInterface $request, array $options): PromiseInte \usleep($options['delay'] * 1000); } + $protocolVersion = $request->getProtocolVersion(); + + if ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) { + throw new ConnectException(sprintf('HTTP/%s is not supported by the stream handler.', $protocolVersion), $request); + } + $startTime = isset($options['on_stats']) ? Utils::currentTime() : null; try { @@ -83,8 +89,8 @@ private function invokeStats( array $options, RequestInterface $request, ?float $startTime, - ResponseInterface $response = null, - \Throwable $error = null + ?ResponseInterface $response = null, + ?\Throwable $error = null ): void { if (isset($options['on_stats'])) { $stats = new TransferStats($request, $response, Utils::currentTime() - $startTime, $error, []); @@ -273,7 +279,7 @@ private function createStream(RequestInterface $request, array $options) // HTTP/1.1 streams using the PHP stream wrapper require a // Connection: close header - if ($request->getProtocolVersion() == '1.1' + if ($request->getProtocolVersion() === '1.1' && !$request->hasHeader('Connection') ) { $request = $request->withHeader('Connection', 'close'); diff --git a/vendor/guzzlehttp/guzzle/src/HandlerStack.php b/vendor/guzzlehttp/guzzle/src/HandlerStack.php index 6cb12f0..03f9a18 100644 --- a/vendor/guzzlehttp/guzzle/src/HandlerStack.php +++ b/vendor/guzzlehttp/guzzle/src/HandlerStack.php @@ -44,7 +44,7 @@ class HandlerStack * handler is provided, the best handler for your * system will be utilized. */ - public static function create(callable $handler = null): self + public static function create(?callable $handler = null): self { $stack = new self($handler ?: Utils::chooseHandler()); $stack->push(Middleware::httpErrors(), 'http_errors'); @@ -58,7 +58,7 @@ public static function create(callable $handler = null): self /** * @param (callable(RequestInterface, array): PromiseInterface)|null $handler Underlying HTTP handler. */ - public function __construct(callable $handler = null) + public function __construct(?callable $handler = null) { $this->handler = $handler; } @@ -131,7 +131,7 @@ public function hasHandler(): bool * @param callable(callable): callable $middleware Middleware function * @param string $name Name to register for this middleware. */ - public function unshift(callable $middleware, string $name = null): void + public function unshift(callable $middleware, ?string $name = null): void { \array_unshift($this->stack, [$middleware, $name]); $this->cached = null; diff --git a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php index 04e9eb3..9b77eee 100644 --- a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php +++ b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php @@ -68,7 +68,7 @@ public function __construct(?string $template = self::CLF) * @param ResponseInterface|null $response Response that was received * @param \Throwable|null $error Exception that was received */ - public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null): string + public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string { $cache = []; diff --git a/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php b/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php index 4793461..a39ac24 100644 --- a/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php +++ b/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php @@ -14,5 +14,5 @@ interface MessageFormatterInterface * @param ResponseInterface|null $response Response that was received * @param \Throwable|null $error Exception that was received */ - public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null): string; + public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string; } diff --git a/vendor/guzzlehttp/guzzle/src/Middleware.php b/vendor/guzzlehttp/guzzle/src/Middleware.php index 7e3eb6b..6edbb3f 100644 --- a/vendor/guzzlehttp/guzzle/src/Middleware.php +++ b/vendor/guzzlehttp/guzzle/src/Middleware.php @@ -55,7 +55,7 @@ static function (ResponseInterface $response) use ($cookieJar, $request): Respon * * @return callable(callable): callable Returns a function that accepts the next handler. */ - public static function httpErrors(BodySummarizerInterface $bodySummarizer = null): callable + public static function httpErrors(?BodySummarizerInterface $bodySummarizer = null): callable { return static function (callable $handler) use ($bodySummarizer): callable { return static function ($request, array $options) use ($handler, $bodySummarizer) { @@ -132,7 +132,7 @@ static function ($reason) use ($request, &$container, $options) { * * @return callable Returns a function that accepts the next handler. */ - public static function tap(callable $before = null, callable $after = null): callable + public static function tap(?callable $before = null, ?callable $after = null): callable { return static function (callable $handler) use ($before, $after): callable { return static function (RequestInterface $request, array $options) use ($handler, $before, $after) { @@ -176,7 +176,7 @@ public static function redirect(): callable * * @return callable Returns a function that accepts the next handler. */ - public static function retry(callable $decider, callable $delay = null): callable + public static function retry(callable $decider, ?callable $delay = null): callable { return static function (callable $handler) use ($decider, $delay): RetryMiddleware { return new RetryMiddleware($decider, $handler, $delay); diff --git a/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php b/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php index 0a8de81..7dde6c5 100644 --- a/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php +++ b/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php @@ -76,8 +76,8 @@ private function addExpectHeader(RequestInterface $request, array $options, arra $expect = $options['expect'] ?? null; - // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0 - if ($expect === false || $request->getProtocolVersion() < 1.1) { + // Return if disabled or using HTTP/1.0 + if ($expect === false || $request->getProtocolVersion() === '1.0') { return; } diff --git a/vendor/guzzlehttp/guzzle/src/RequestOptions.php b/vendor/guzzlehttp/guzzle/src/RequestOptions.php index bf3b02b..84a3500 100644 --- a/vendor/guzzlehttp/guzzle/src/RequestOptions.php +++ b/vendor/guzzlehttp/guzzle/src/RequestOptions.php @@ -5,9 +5,7 @@ /** * This class contains a list of built-in Guzzle request options. * - * More documentation for each option can be found at http://guzzlephp.org/. - * - * @see http://docs.guzzlephp.org/en/v6/request-options.html + * @see https://docs.guzzlephp.org/en/latest/request-options.html */ final class RequestOptions { @@ -63,7 +61,7 @@ final class RequestOptions * Specifies whether or not cookies are used in a request or what cookie * jar to use or what cookies to send. This option only works if your * handler has the `cookie` middleware. Valid values are `false` and - * an instance of {@see \GuzzleHttp\Cookie\CookieJarInterface}. + * an instance of {@see Cookie\CookieJarInterface}. */ public const COOKIES = 'cookies'; diff --git a/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php b/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php index 8f4d93a..65f49cb 100644 --- a/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php +++ b/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php @@ -40,7 +40,7 @@ class RetryMiddleware * and returns the number of * milliseconds to delay. */ - public function __construct(callable $decider, callable $nextHandler, callable $delay = null) + public function __construct(callable $decider, callable $nextHandler, ?callable $delay = null) { $this->decider = $decider; $this->nextHandler = $nextHandler; @@ -110,7 +110,7 @@ private function onRejected(RequestInterface $req, array $options): callable }; } - private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null): PromiseInterface + private function doRetry(RequestInterface $request, array $options, ?ResponseInterface $response = null): PromiseInterface { $options['delay'] = ($this->delay)(++$options['retries'], $response, $request); diff --git a/vendor/guzzlehttp/guzzle/src/TransferStats.php b/vendor/guzzlehttp/guzzle/src/TransferStats.php index 2ce9e38..93fa334 100644 --- a/vendor/guzzlehttp/guzzle/src/TransferStats.php +++ b/vendor/guzzlehttp/guzzle/src/TransferStats.php @@ -46,8 +46,8 @@ final class TransferStats */ public function __construct( RequestInterface $request, - ResponseInterface $response = null, - float $transferTime = null, + ?ResponseInterface $response = null, + ?float $transferTime = null, $handlerErrorData = null, array $handlerStats = [] ) { diff --git a/vendor/guzzlehttp/guzzle/src/Utils.php b/vendor/guzzlehttp/guzzle/src/Utils.php index fcf571d..df52927 100644 --- a/vendor/guzzlehttp/guzzle/src/Utils.php +++ b/vendor/guzzlehttp/guzzle/src/Utils.php @@ -71,7 +71,7 @@ public static function debugResource($value = null) return \STDOUT; } - return \GuzzleHttp\Psr7\Utils::tryFopen('php://output', 'w'); + return Psr7\Utils::tryFopen('php://output', 'w'); } /** @@ -87,7 +87,7 @@ public static function chooseHandler(): callable { $handler = null; - if (\defined('CURLOPT_CUSTOMREQUEST')) { + if (\defined('CURLOPT_CUSTOMREQUEST') && \function_exists('curl_version') && version_compare(curl_version()['version'], '7.21.2') >= 0) { if (\function_exists('curl_multi_exec') && \function_exists('curl_exec')) { $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); } elseif (\function_exists('curl_exec')) { @@ -176,14 +176,13 @@ public static function defaultCaBundle(): string PHP versions earlier than 5.6 are not properly configured to use the system's CA bundle by default. In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle to the 'verify' request -option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not -need a specific certificate bundle, then Mozilla provides a commonly used CA -bundle which can be downloaded here (provided by the maintainer of cURL): -https://curl.haxx.se/ca/cacert.pem. Once -you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP -ini setting to point to the path to the file, allowing you to omit the 'verify' -request option. See https://curl.haxx.se/docs/sslcerts.html for more -information. +option: https://docs.guzzlephp.org/en/latest/request-options.html#verify. If +you do not need a specific certificate bundle, then Mozilla provides a commonly +used CA bundle which can be downloaded here (provided by the maintainer of +cURL): https://curl.haxx.se/ca/cacert.pem. Once you have a CA bundle available +on disk, you can set the 'openssl.cafile' PHP ini setting to point to the path +to the file, allowing you to omit the 'verify' request option. See +https://curl.haxx.se/docs/sslcerts.html for more information. EOT ); } diff --git a/vendor/guzzlehttp/promises/src/Coroutine.php b/vendor/guzzlehttp/promises/src/Coroutine.php index 0b5b9c0..0da0228 100644 --- a/vendor/guzzlehttp/promises/src/Coroutine.php +++ b/vendor/guzzlehttp/promises/src/Coroutine.php @@ -84,8 +84,8 @@ public static function of(callable $generatorFn): self } public function then( - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { return $this->result->then($onFulfilled, $onRejected); } diff --git a/vendor/guzzlehttp/promises/src/Each.php b/vendor/guzzlehttp/promises/src/Each.php index 1a7aa0f..dd72c83 100644 --- a/vendor/guzzlehttp/promises/src/Each.php +++ b/vendor/guzzlehttp/promises/src/Each.php @@ -19,14 +19,12 @@ final class Each * index, and the aggregate promise. The callback can invoke any necessary * side effects and choose to resolve or reject the aggregate if needed. * - * @param mixed $iterable Iterator or array to iterate over. - * @param callable $onFulfilled - * @param callable $onRejected + * @param mixed $iterable Iterator or array to iterate over. */ public static function of( $iterable, - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { return (new EachPromise($iterable, [ 'fulfilled' => $onFulfilled, @@ -44,14 +42,12 @@ public static function of( * * @param mixed $iterable * @param int|callable $concurrency - * @param callable $onFulfilled - * @param callable $onRejected */ public static function ofLimit( $iterable, $concurrency, - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { return (new EachPromise($iterable, [ 'fulfilled' => $onFulfilled, @@ -67,12 +63,11 @@ public static function ofLimit( * * @param mixed $iterable * @param int|callable $concurrency - * @param callable $onFulfilled */ public static function ofLimitAll( $iterable, $concurrency, - callable $onFulfilled = null + ?callable $onFulfilled = null ): PromiseInterface { return self::ofLimit( $iterable, diff --git a/vendor/guzzlehttp/promises/src/EachPromise.php b/vendor/guzzlehttp/promises/src/EachPromise.php index 28dd979..e123898 100644 --- a/vendor/guzzlehttp/promises/src/EachPromise.php +++ b/vendor/guzzlehttp/promises/src/EachPromise.php @@ -135,7 +135,7 @@ private function refillPending(): void // Add only up to N pending promises. $concurrency = is_callable($this->concurrency) - ? call_user_func($this->concurrency, count($this->pending)) + ? ($this->concurrency)(count($this->pending)) : $this->concurrency; $concurrency = max($concurrency - count($this->pending), 0); // Concurrency may be set to 0 to disallow new promises. @@ -170,8 +170,7 @@ private function addPending(): bool $this->pending[$idx] = $promise->then( function ($value) use ($idx, $key): void { if ($this->onFulfilled) { - call_user_func( - $this->onFulfilled, + ($this->onFulfilled)( $value, $key, $this->aggregate @@ -181,8 +180,7 @@ function ($value) use ($idx, $key): void { }, function ($reason) use ($idx, $key): void { if ($this->onRejected) { - call_user_func( - $this->onRejected, + ($this->onRejected)( $reason, $key, $this->aggregate diff --git a/vendor/guzzlehttp/promises/src/FulfilledPromise.php b/vendor/guzzlehttp/promises/src/FulfilledPromise.php index ab71296..727ec31 100644 --- a/vendor/guzzlehttp/promises/src/FulfilledPromise.php +++ b/vendor/guzzlehttp/promises/src/FulfilledPromise.php @@ -31,8 +31,8 @@ public function __construct($value) } public function then( - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { // Return itself if there is no onFulfilled function. if (!$onFulfilled) { diff --git a/vendor/guzzlehttp/promises/src/Promise.php b/vendor/guzzlehttp/promises/src/Promise.php index 1b07bdc..c0c5be2 100644 --- a/vendor/guzzlehttp/promises/src/Promise.php +++ b/vendor/guzzlehttp/promises/src/Promise.php @@ -25,16 +25,16 @@ class Promise implements PromiseInterface * @param callable $cancelFn Fn that when invoked cancels the promise. */ public function __construct( - callable $waitFn = null, - callable $cancelFn = null + ?callable $waitFn = null, + ?callable $cancelFn = null ) { $this->waitFn = $waitFn; $this->cancelFn = $cancelFn; } public function then( - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { if ($this->state === self::PENDING) { $p = new Promise(null, [$this, 'cancel']); diff --git a/vendor/guzzlehttp/promises/src/PromiseInterface.php b/vendor/guzzlehttp/promises/src/PromiseInterface.php index 2824802..c11721e 100644 --- a/vendor/guzzlehttp/promises/src/PromiseInterface.php +++ b/vendor/guzzlehttp/promises/src/PromiseInterface.php @@ -27,8 +27,8 @@ interface PromiseInterface * @param callable $onRejected Invoked when the promise is rejected. */ public function then( - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface; /** diff --git a/vendor/guzzlehttp/promises/src/RejectedPromise.php b/vendor/guzzlehttp/promises/src/RejectedPromise.php index d947da1..1ebf0b2 100644 --- a/vendor/guzzlehttp/promises/src/RejectedPromise.php +++ b/vendor/guzzlehttp/promises/src/RejectedPromise.php @@ -31,8 +31,8 @@ public function __construct($reason) } public function then( - callable $onFulfilled = null, - callable $onRejected = null + ?callable $onFulfilled = null, + ?callable $onRejected = null ): PromiseInterface { // If there's no onRejected callback then just return self. if (!$onRejected) { diff --git a/vendor/guzzlehttp/promises/src/Utils.php b/vendor/guzzlehttp/promises/src/Utils.php index e1570d7..45b0893 100644 --- a/vendor/guzzlehttp/promises/src/Utils.php +++ b/vendor/guzzlehttp/promises/src/Utils.php @@ -21,7 +21,7 @@ final class Utils * * @param TaskQueueInterface|null $assign Optionally specify a new queue instance. */ - public static function queue(TaskQueueInterface $assign = null): TaskQueueInterface + public static function queue(?TaskQueueInterface $assign = null): TaskQueueInterface { static $queue; diff --git a/vendor/guzzlehttp/psr7/src/CachingStream.php b/vendor/guzzlehttp/psr7/src/CachingStream.php index f34722c..7e4554d 100644 --- a/vendor/guzzlehttp/psr7/src/CachingStream.php +++ b/vendor/guzzlehttp/psr7/src/CachingStream.php @@ -33,7 +33,7 @@ final class CachingStream implements StreamInterface */ public function __construct( StreamInterface $stream, - StreamInterface $target = null + ?StreamInterface $target = null ) { $this->remoteStream = $stream; $this->stream = $target ?: new Stream(Utils::tryFopen('php://temp', 'r+')); diff --git a/vendor/guzzlehttp/psr7/src/FnStream.php b/vendor/guzzlehttp/psr7/src/FnStream.php index 9fdddb9..9e6a7f3 100644 --- a/vendor/guzzlehttp/psr7/src/FnStream.php +++ b/vendor/guzzlehttp/psr7/src/FnStream.php @@ -54,7 +54,7 @@ public function __get(string $name): void public function __destruct() { if (isset($this->_fn_close)) { - call_user_func($this->_fn_close); + ($this->_fn_close)(); } } @@ -93,7 +93,8 @@ public static function decorate(StreamInterface $stream, array $methods) public function __toString(): string { try { - return call_user_func($this->_fn___toString); + /** @var string */ + return ($this->_fn___toString)(); } catch (\Throwable $e) { if (\PHP_VERSION_ID >= 70400) { throw $e; @@ -106,67 +107,67 @@ public function __toString(): string public function close(): void { - call_user_func($this->_fn_close); + ($this->_fn_close)(); } public function detach() { - return call_user_func($this->_fn_detach); + return ($this->_fn_detach)(); } public function getSize(): ?int { - return call_user_func($this->_fn_getSize); + return ($this->_fn_getSize)(); } public function tell(): int { - return call_user_func($this->_fn_tell); + return ($this->_fn_tell)(); } public function eof(): bool { - return call_user_func($this->_fn_eof); + return ($this->_fn_eof)(); } public function isSeekable(): bool { - return call_user_func($this->_fn_isSeekable); + return ($this->_fn_isSeekable)(); } public function rewind(): void { - call_user_func($this->_fn_rewind); + ($this->_fn_rewind)(); } public function seek($offset, $whence = SEEK_SET): void { - call_user_func($this->_fn_seek, $offset, $whence); + ($this->_fn_seek)($offset, $whence); } public function isWritable(): bool { - return call_user_func($this->_fn_isWritable); + return ($this->_fn_isWritable)(); } public function write($string): int { - return call_user_func($this->_fn_write, $string); + return ($this->_fn_write)($string); } public function isReadable(): bool { - return call_user_func($this->_fn_isReadable); + return ($this->_fn_isReadable)(); } public function read($length): string { - return call_user_func($this->_fn_read, $length); + return ($this->_fn_read)($length); } public function getContents(): string { - return call_user_func($this->_fn_getContents); + return ($this->_fn_getContents)(); } /** @@ -174,6 +175,6 @@ public function getContents(): string */ public function getMetadata($key = null) { - return call_user_func($this->_fn_getMetadata, $key); + return ($this->_fn_getMetadata)($key); } } diff --git a/vendor/guzzlehttp/psr7/src/Header.php b/vendor/guzzlehttp/psr7/src/Header.php index 6e38e00..bbce8b0 100644 --- a/vendor/guzzlehttp/psr7/src/Header.php +++ b/vendor/guzzlehttp/psr7/src/Header.php @@ -22,7 +22,7 @@ public static function parse($header): array foreach ((array) $header as $value) { foreach (self::splitList($value) as $val) { $part = []; - foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) { + foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) ?: [] as $kvp) { if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) { $m = $matches[0]; if (isset($m[1])) { diff --git a/vendor/guzzlehttp/psr7/src/HttpFactory.php b/vendor/guzzlehttp/psr7/src/HttpFactory.php index 73d17e3..3ef1510 100644 --- a/vendor/guzzlehttp/psr7/src/HttpFactory.php +++ b/vendor/guzzlehttp/psr7/src/HttpFactory.php @@ -27,10 +27,10 @@ final class HttpFactory implements RequestFactoryInterface, ResponseFactoryInter { public function createUploadedFile( StreamInterface $stream, - int $size = null, + ?int $size = null, int $error = \UPLOAD_ERR_OK, - string $clientFilename = null, - string $clientMediaType = null + ?string $clientFilename = null, + ?string $clientMediaType = null ): UploadedFileInterface { if ($size === null) { $size = $stream->getSize(); diff --git a/vendor/guzzlehttp/psr7/src/InflateStream.php b/vendor/guzzlehttp/psr7/src/InflateStream.php index 599b55d..e674c9a 100644 --- a/vendor/guzzlehttp/psr7/src/InflateStream.php +++ b/vendor/guzzlehttp/psr7/src/InflateStream.php @@ -13,9 +13,9 @@ * then appends the zlib.inflate filter. The stream is then converted back * to a Guzzle stream resource to be used as a Guzzle stream. * - * @see http://tools.ietf.org/html/rfc1950 - * @see http://tools.ietf.org/html/rfc1952 - * @see http://php.net/manual/en/filters.compression.php + * @see https://datatracker.ietf.org/doc/html/rfc1950 + * @see https://datatracker.ietf.org/doc/html/rfc1952 + * @see https://www.php.net/manual/en/filters.compression.php */ final class InflateStream implements StreamInterface { @@ -28,7 +28,7 @@ public function __construct(StreamInterface $stream) { $resource = StreamWrapper::getResource($stream); // Specify window=15+32, so zlib will use header detection to both gzip (with header) and zlib data - // See http://www.zlib.net/manual.html#Advanced definition of inflateInit2 + // See https://www.zlib.net/manual.html#Advanced definition of inflateInit2 // "Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection" // Default window size is 15. stream_filter_append($resource, 'zlib.inflate', STREAM_FILTER_READ, ['window' => 15 + 32]); diff --git a/vendor/guzzlehttp/psr7/src/Message.php b/vendor/guzzlehttp/psr7/src/Message.php index 6e6c3e5..5561a51 100644 --- a/vendor/guzzlehttp/psr7/src/Message.php +++ b/vendor/guzzlehttp/psr7/src/Message.php @@ -146,7 +146,7 @@ public static function parseMessage(string $message): array // If these aren't the same, then one line didn't match and there's an invalid header. if ($count !== substr_count($rawHeaders, "\n")) { - // Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4 + // Folding is deprecated, see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) { throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding'); } @@ -227,9 +227,9 @@ public static function parseRequest(string $message): RequestInterface public static function parseResponse(string $message): ResponseInterface { $data = self::parseMessage($message); - // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space - // between status-code and reason-phrase is required. But browsers accept - // responses without space and reason as well. + // According to https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2 + // the space between status-code and reason-phrase is required. But + // browsers accept responses without space and reason as well. if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) { throw new \InvalidArgumentException('Invalid response string: '.$data['start-line']); } diff --git a/vendor/guzzlehttp/psr7/src/MessageTrait.php b/vendor/guzzlehttp/psr7/src/MessageTrait.php index e05ebea..65dbc4b 100644 --- a/vendor/guzzlehttp/psr7/src/MessageTrait.php +++ b/vendor/guzzlehttp/psr7/src/MessageTrait.php @@ -141,7 +141,7 @@ public function withBody(StreamInterface $body): MessageInterface } /** - * @param array $headers + * @param (string|string[])[] $headers */ private function setHeaders(array $headers): void { @@ -193,7 +193,7 @@ private function normalizeHeaderValue($value): array * * @return string[] Trimmed header values * - * @see https://tools.ietf.org/html/rfc7230#section-3.2.4 + * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ private function trimAndValidateHeaderValues(array $values): array { @@ -213,7 +213,7 @@ private function trimAndValidateHeaderValues(array $values): array } /** - * @see https://tools.ietf.org/html/rfc7230#section-3.2 + * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ @@ -234,7 +234,7 @@ private function assertHeader($header): void } /** - * @see https://tools.ietf.org/html/rfc7230#section-3.2 + * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] diff --git a/vendor/guzzlehttp/psr7/src/MultipartStream.php b/vendor/guzzlehttp/psr7/src/MultipartStream.php index 41c48ee..43d718f 100644 --- a/vendor/guzzlehttp/psr7/src/MultipartStream.php +++ b/vendor/guzzlehttp/psr7/src/MultipartStream.php @@ -32,7 +32,7 @@ final class MultipartStream implements StreamInterface * * @throws \InvalidArgumentException */ - public function __construct(array $elements = [], string $boundary = null) + public function __construct(array $elements = [], ?string $boundary = null) { $this->boundary = $boundary ?: bin2hex(random_bytes(20)); $this->stream = $this->createStream($elements); @@ -51,7 +51,7 @@ public function isWritable(): bool /** * Get the headers needed before transferring the content of a POST file * - * @param array $headers + * @param string[] $headers */ private function getHeaders(array $headers): string { @@ -112,10 +112,15 @@ private function addElement(AppendStream $stream, array $element): void $stream->addStream(Utils::streamFor("\r\n")); } + /** + * @param string[] $headers + * + * @return array{0: StreamInterface, 1: string[]} + */ private function createElement(string $name, StreamInterface $stream, ?string $filename, array $headers): array { // Set a default content-disposition header if one was no provided - $disposition = $this->getHeader($headers, 'content-disposition'); + $disposition = self::getHeader($headers, 'content-disposition'); if (!$disposition) { $headers['Content-Disposition'] = ($filename === '0' || $filename) ? sprintf( @@ -127,7 +132,7 @@ private function createElement(string $name, StreamInterface $stream, ?string $f } // Set a default content-length header if one was no provided - $length = $this->getHeader($headers, 'content-length'); + $length = self::getHeader($headers, 'content-length'); if (!$length) { if ($length = $stream->getSize()) { $headers['Content-Length'] = (string) $length; @@ -135,7 +140,7 @@ private function createElement(string $name, StreamInterface $stream, ?string $f } // Set a default Content-Type if one was not supplied - $type = $this->getHeader($headers, 'content-type'); + $type = self::getHeader($headers, 'content-type'); if (!$type && ($filename === '0' || $filename)) { $headers['Content-Type'] = MimeType::fromFilename($filename) ?? 'application/octet-stream'; } @@ -143,11 +148,14 @@ private function createElement(string $name, StreamInterface $stream, ?string $f return [$stream, $headers]; } - private function getHeader(array $headers, string $key) + /** + * @param string[] $headers + */ + private static function getHeader(array $headers, string $key): ?string { $lowercaseHeader = strtolower($key); foreach ($headers as $k => $v) { - if (strtolower($k) === $lowercaseHeader) { + if (strtolower((string) $k) === $lowercaseHeader) { return $v; } } diff --git a/vendor/guzzlehttp/psr7/src/PumpStream.php b/vendor/guzzlehttp/psr7/src/PumpStream.php index 5585190..e204070 100644 --- a/vendor/guzzlehttp/psr7/src/PumpStream.php +++ b/vendor/guzzlehttp/psr7/src/PumpStream.php @@ -18,7 +18,7 @@ */ final class PumpStream implements StreamInterface { - /** @var callable|null */ + /** @var callable(int): (string|false|null)|null */ private $source; /** @var int|null */ @@ -163,9 +163,9 @@ public function getMetadata($key = null) private function pump(int $length): void { - if ($this->source) { + if ($this->source !== null) { do { - $data = call_user_func($this->source, $length); + $data = ($this->source)($length); if ($data === false || $data === null) { $this->source = null; diff --git a/vendor/guzzlehttp/psr7/src/Query.php b/vendor/guzzlehttp/psr7/src/Query.php index 8b94927..ccf867a 100644 --- a/vendor/guzzlehttp/psr7/src/Query.php +++ b/vendor/guzzlehttp/psr7/src/Query.php @@ -63,12 +63,15 @@ public static function parse(string $str, $urlEncoding = true): array * string. This function does not modify the provided keys when an array is * encountered (like `http_build_query()` would). * - * @param array $params Query string parameters. - * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 - * to encode using RFC3986, or PHP_QUERY_RFC1738 - * to encode using RFC1738. + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, + * PHP_QUERY_RFC3986 to encode using + * RFC3986, or PHP_QUERY_RFC1738 to + * encode using RFC1738. + * @param bool $treatBoolsAsInts Set to true to encode as 0/1, and + * false as false/true. */ - public static function build(array $params, $encoding = PHP_QUERY_RFC3986): string + public static function build(array $params, $encoding = PHP_QUERY_RFC3986, bool $treatBoolsAsInts = true): string { if (!$params) { return ''; @@ -86,12 +89,14 @@ public static function build(array $params, $encoding = PHP_QUERY_RFC3986): stri throw new \InvalidArgumentException('Invalid type'); } + $castBool = $treatBoolsAsInts ? static function ($v) { return (int) $v; } : static function ($v) { return $v ? 'true' : 'false'; }; + $qs = ''; foreach ($params as $k => $v) { $k = $encoder((string) $k); if (!is_array($v)) { $qs .= $k; - $v = is_bool($v) ? (int) $v : $v; + $v = is_bool($v) ? $castBool($v) : $v; if ($v !== null) { $qs .= '='.$encoder((string) $v); } @@ -99,7 +104,7 @@ public static function build(array $params, $encoding = PHP_QUERY_RFC3986): stri } else { foreach ($v as $vv) { $qs .= $k; - $vv = is_bool($vv) ? (int) $vv : $vv; + $vv = is_bool($vv) ? $castBool($vv) : $vv; if ($vv !== null) { $qs .= '='.$encoder((string) $vv); } diff --git a/vendor/guzzlehttp/psr7/src/Request.php b/vendor/guzzlehttp/psr7/src/Request.php index db29d95..faafe1a 100644 --- a/vendor/guzzlehttp/psr7/src/Request.php +++ b/vendor/guzzlehttp/psr7/src/Request.php @@ -28,7 +28,7 @@ class Request implements RequestInterface /** * @param string $method HTTP method * @param string|UriInterface $uri URI - * @param array $headers Request headers + * @param (string|string[])[] $headers Request headers * @param string|resource|StreamInterface|null $body Request body * @param string $version Protocol version */ @@ -143,7 +143,7 @@ private function updateHostFromUri(): void $this->headerNames['host'] = 'Host'; } // Ensure Host is the first header. - // See: http://tools.ietf.org/html/rfc7230#section-5.4 + // See: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 $this->headers = [$header => [$host]] + $this->headers; } diff --git a/vendor/guzzlehttp/psr7/src/Response.php b/vendor/guzzlehttp/psr7/src/Response.php index 8fc1147..34e612f 100644 --- a/vendor/guzzlehttp/psr7/src/Response.php +++ b/vendor/guzzlehttp/psr7/src/Response.php @@ -86,7 +86,7 @@ class Response implements ResponseInterface /** * @param int $status Status code - * @param array $headers Response headers + * @param (string|string[])[] $headers Response headers * @param string|resource|StreamInterface|null $body Response body * @param string $version Protocol version * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) @@ -96,7 +96,7 @@ public function __construct( array $headers = [], $body = null, string $version = '1.1', - string $reason = null + ?string $reason = null ) { $this->assertStatusCodeRange($status); diff --git a/vendor/guzzlehttp/psr7/src/ServerRequest.php b/vendor/guzzlehttp/psr7/src/ServerRequest.php index c852d96..3cc9534 100644 --- a/vendor/guzzlehttp/psr7/src/ServerRequest.php +++ b/vendor/guzzlehttp/psr7/src/ServerRequest.php @@ -59,7 +59,7 @@ class ServerRequest extends Request implements ServerRequestInterface /** * @param string $method HTTP method * @param string|UriInterface $uri URI - * @param array $headers Request headers + * @param (string|string[])[] $headers Request headers * @param string|resource|StreamInterface|null $body Request body * @param string $version Protocol version * @param array $serverParams Typically the $_SERVER superglobal diff --git a/vendor/guzzlehttp/psr7/src/Stream.php b/vendor/guzzlehttp/psr7/src/Stream.php index f730dda..0aff9b2 100644 --- a/vendor/guzzlehttp/psr7/src/Stream.php +++ b/vendor/guzzlehttp/psr7/src/Stream.php @@ -12,8 +12,8 @@ class Stream implements StreamInterface { /** - * @see http://php.net/manual/function.fopen.php - * @see http://php.net/manual/en/function.gzopen.php + * @see https://www.php.net/manual/en/function.fopen.php + * @see https://www.php.net/manual/en/function.gzopen.php */ private const READABLE_MODES = '/r|a\+|ab\+|w\+|wb\+|x\+|xb\+|c\+|cb\+/'; private const WRITABLE_MODES = '/a|w|r\+|rb\+|rw|x|c/'; diff --git a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php index 96196a3..601c13a 100644 --- a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php +++ b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php @@ -70,7 +70,7 @@ public function __call(string $method, array $args) { /** @var callable $callable */ $callable = [$this->stream, $method]; - $result = call_user_func_array($callable, $args); + $result = ($callable)(...$args); // Always return the wrapped object if the result is a return $this return $result === $this->stream ? $this : $result; diff --git a/vendor/guzzlehttp/psr7/src/StreamWrapper.php b/vendor/guzzlehttp/psr7/src/StreamWrapper.php index b3655cb..77b04d7 100644 --- a/vendor/guzzlehttp/psr7/src/StreamWrapper.php +++ b/vendor/guzzlehttp/psr7/src/StreamWrapper.php @@ -69,7 +69,7 @@ public static function register(): void } } - public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool + public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool { $options = stream_context_get_options($this->context); @@ -122,10 +122,28 @@ public function stream_cast(int $cast_as) } /** - * @return array + * @return array{ + * dev: int, + * ino: int, + * mode: int, + * nlink: int, + * uid: int, + * gid: int, + * rdev: int, + * size: int, + * atime: int, + * mtime: int, + * ctime: int, + * blksize: int, + * blocks: int + * }|false */ - public function stream_stat(): array + public function stream_stat() { + if ($this->stream->getSize() === null) { + return false; + } + static $modeMap = [ 'r' => 33060, 'rb' => 33060, @@ -152,7 +170,21 @@ public function stream_stat(): array } /** - * @return array + * @return array{ + * dev: int, + * ino: int, + * mode: int, + * nlink: int, + * uid: int, + * gid: int, + * rdev: int, + * size: int, + * atime: int, + * mtime: int, + * ctime: int, + * blksize: int, + * blocks: int + * } */ public function url_stat(string $path, int $flags): array { diff --git a/vendor/guzzlehttp/psr7/src/UploadedFile.php b/vendor/guzzlehttp/psr7/src/UploadedFile.php index b1521bc..9c9ea49 100644 --- a/vendor/guzzlehttp/psr7/src/UploadedFile.php +++ b/vendor/guzzlehttp/psr7/src/UploadedFile.php @@ -64,8 +64,8 @@ public function __construct( $streamOrFile, ?int $size, int $errorStatus, - string $clientFilename = null, - string $clientMediaType = null + ?string $clientFilename = null, + ?string $clientMediaType = null ) { $this->setError($errorStatus); $this->size = $size; @@ -113,7 +113,7 @@ private function setError(int $error): void $this->error = $error; } - private function isStringNotEmpty($param): bool + private static function isStringNotEmpty($param): bool { return is_string($param) && false === empty($param); } @@ -163,7 +163,7 @@ public function moveTo($targetPath): void { $this->validateActive(); - if (false === $this->isStringNotEmpty($targetPath)) { + if (false === self::isStringNotEmpty($targetPath)) { throw new InvalidArgumentException( 'Invalid path provided for move operation; must be a non-empty string' ); diff --git a/vendor/guzzlehttp/psr7/src/Uri.php b/vendor/guzzlehttp/psr7/src/Uri.php index fbba7f1..481dfca 100644 --- a/vendor/guzzlehttp/psr7/src/Uri.php +++ b/vendor/guzzlehttp/psr7/src/Uri.php @@ -41,14 +41,14 @@ class Uri implements UriInterface, \JsonSerializable /** * Unreserved characters for use in a regex. * - * @see https://tools.ietf.org/html/rfc3986#section-2.3 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.3 */ private const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~'; /** * Sub-delims for use in a regex. * - * @see https://tools.ietf.org/html/rfc3986#section-2.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 */ private const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;='; private const QUERY_SEPARATORS_REPLACEMENT = ['=' => '%3D', '&' => '%26']; @@ -162,7 +162,7 @@ public function __toString(): string * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to * that format). * - * @see https://tools.ietf.org/html/rfc3986#section-5.3 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3 */ public static function composeComponents(?string $scheme, ?string $authority, string $path, ?string $query, ?string $fragment): string { @@ -219,7 +219,7 @@ public static function isDefaultPort(UriInterface $uri): bool * @see Uri::isNetworkPathReference * @see Uri::isAbsolutePathReference * @see Uri::isRelativePathReference - * @see https://tools.ietf.org/html/rfc3986#section-4 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4 */ public static function isAbsolute(UriInterface $uri): bool { @@ -231,7 +231,7 @@ public static function isAbsolute(UriInterface $uri): bool * * A relative reference that begins with two slash characters is termed an network-path reference. * - * @see https://tools.ietf.org/html/rfc3986#section-4.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ public static function isNetworkPathReference(UriInterface $uri): bool { @@ -243,7 +243,7 @@ public static function isNetworkPathReference(UriInterface $uri): bool * * A relative reference that begins with a single slash character is termed an absolute-path reference. * - * @see https://tools.ietf.org/html/rfc3986#section-4.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ public static function isAbsolutePathReference(UriInterface $uri): bool { @@ -258,7 +258,7 @@ public static function isAbsolutePathReference(UriInterface $uri): bool * * A relative reference that does not begin with a slash character is termed a relative-path reference. * - * @see https://tools.ietf.org/html/rfc3986#section-4.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ public static function isRelativePathReference(UriInterface $uri): bool { @@ -277,9 +277,9 @@ public static function isRelativePathReference(UriInterface $uri): bool * @param UriInterface $uri The URI to check * @param UriInterface|null $base An optional base URI to compare against * - * @see https://tools.ietf.org/html/rfc3986#section-4.4 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4 */ - public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool + public static function isSameDocumentReference(UriInterface $uri, ?UriInterface $base = null): bool { if ($base !== null) { $uri = UriResolver::resolve($base, $uri); @@ -336,8 +336,8 @@ public static function withQueryValue(UriInterface $uri, string $key, ?string $v * * It has the same behavior as withQueryValue() but for an associative array of key => value. * - * @param UriInterface $uri URI to use as a base. - * @param array $keyValueArray Associative array of key and values + * @param UriInterface $uri URI to use as a base. + * @param (string|null)[] $keyValueArray Associative array of key and values */ public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface { @@ -353,7 +353,7 @@ public static function withQueryValues(UriInterface $uri, array $keyValueArray): /** * Creates a URI from a hash of `parse_url` components. * - * @see http://php.net/manual/en/function.parse-url.php + * @see https://www.php.net/manual/en/function.parse-url.php * * @throws MalformedUriException If the components do not form a valid URI. */ @@ -638,7 +638,7 @@ private function filterPort($port): ?int } /** - * @param string[] $keys + * @param (string|int)[] $keys * * @return string[] */ @@ -650,7 +650,9 @@ private static function getFilteredQueryString(UriInterface $uri, array $keys): return []; } - $decodedKeys = array_map('rawurldecode', $keys); + $decodedKeys = array_map(function ($k): string { + return rawurldecode((string) $k); + }, $keys); return array_filter(explode('&', $current), function ($part) use ($decodedKeys) { return !in_array(rawurldecode(explode('=', $part)[0]), $decodedKeys, true); diff --git a/vendor/guzzlehttp/psr7/src/UriNormalizer.php b/vendor/guzzlehttp/psr7/src/UriNormalizer.php index cd4c383..e174557 100644 --- a/vendor/guzzlehttp/psr7/src/UriNormalizer.php +++ b/vendor/guzzlehttp/psr7/src/UriNormalizer.php @@ -11,7 +11,7 @@ * * @author Tobias Schultze * - * @see https://tools.ietf.org/html/rfc3986#section-6 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6 */ final class UriNormalizer { @@ -119,7 +119,7 @@ final class UriNormalizer * @param UriInterface $uri The URI to normalize * @param int $flags A bitmask of normalizations to apply, see constants * - * @see https://tools.ietf.org/html/rfc3986#section-6.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.2 */ public static function normalize(UriInterface $uri, int $flags = self::PRESERVING_NORMALIZATIONS): UriInterface { @@ -174,7 +174,7 @@ public static function normalize(UriInterface $uri, int $flags = self::PRESERVIN * @param UriInterface $uri2 An URI to compare * @param int $normalizations A bitmask of normalizations to apply, see constants * - * @see https://tools.ietf.org/html/rfc3986#section-6.1 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.1 */ public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int $normalizations = self::PRESERVING_NORMALIZATIONS): bool { @@ -185,7 +185,7 @@ private static function capitalizePercentEncoding(UriInterface $uri): UriInterfa { $regex = '/(?:%[A-Fa-f0-9]{2})++/'; - $callback = function (array $match) { + $callback = function (array $match): string { return strtoupper($match[0]); }; @@ -201,7 +201,7 @@ private static function decodeUnreservedCharacters(UriInterface $uri): UriInterf { $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i'; - $callback = function (array $match) { + $callback = function (array $match): string { return rawurldecode($match[0]); }; diff --git a/vendor/guzzlehttp/psr7/src/UriResolver.php b/vendor/guzzlehttp/psr7/src/UriResolver.php index 38d5793..3737be1 100644 --- a/vendor/guzzlehttp/psr7/src/UriResolver.php +++ b/vendor/guzzlehttp/psr7/src/UriResolver.php @@ -11,14 +11,14 @@ * * @author Tobias Schultze * - * @see https://tools.ietf.org/html/rfc3986#section-5 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5 */ final class UriResolver { /** * Removes dot segments from a path and returns the new path. * - * @see http://tools.ietf.org/html/rfc3986#section-5.2.4 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4 */ public static function removeDotSegments(string $path): string { @@ -53,7 +53,7 @@ public static function removeDotSegments(string $path): string /** * Converts the relative URI into a new URI that is resolved against the base URI. * - * @see http://tools.ietf.org/html/rfc3986#section-5.2 + * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2 */ public static function resolve(UriInterface $base, UriInterface $rel): UriInterface { diff --git a/vendor/guzzlehttp/psr7/src/Utils.php b/vendor/guzzlehttp/psr7/src/Utils.php index 917c05e..7682d2c 100644 --- a/vendor/guzzlehttp/psr7/src/Utils.php +++ b/vendor/guzzlehttp/psr7/src/Utils.php @@ -14,18 +14,18 @@ final class Utils /** * Remove the items given by the keys, case insensitively from the data. * - * @param string[] $keys + * @param (string|int)[] $keys */ public static function caselessRemove(array $keys, array $data): array { $result = []; foreach ($keys as &$key) { - $key = strtolower($key); + $key = strtolower((string) $key); } foreach ($data as $k => $v) { - if (!is_string($k) || !in_array(strtolower($k), $keys)) { + if (!in_array(strtolower((string) $k), $keys)) { $result[$k] = $v; } } @@ -231,7 +231,7 @@ public static function modifyRequest(RequestInterface $request, array $changes): * @param StreamInterface $stream Stream to read from * @param int|null $maxLength Maximum buffer length */ - public static function readLine(StreamInterface $stream, int $maxLength = null): string + public static function readLine(StreamInterface $stream, ?int $maxLength = null): string { $buffer = ''; $size = 0; @@ -250,6 +250,20 @@ public static function readLine(StreamInterface $stream, int $maxLength = null): return $buffer; } + /** + * Redact the password in the user info part of a URI. + */ + public static function redactUserInfo(UriInterface $uri): UriInterface + { + $userInfo = $uri->getUserInfo(); + + if (false !== ($pos = \strpos($userInfo, ':'))) { + return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***'); + } + + return $uri; + } + /** * Create a new stream based on the input type. * diff --git a/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php b/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php index 7db4e30..d7adbf0 100644 --- a/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php +++ b/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php @@ -15,10 +15,10 @@ interface UploadedFileFactoryInterface * * @param StreamInterface $stream Underlying stream representing the * uploaded file content. - * @param int $size in bytes + * @param int|null $size in bytes * @param int $error PHP file upload error - * @param string $clientFilename Filename as provided by the client, if any. - * @param string $clientMediaType Media type as provided by the client, if any. + * @param string|null $clientFilename Filename as provided by the client, if any. + * @param string|null $clientMediaType Media type as provided by the client, if any. * * @return UploadedFileInterface * @@ -26,9 +26,9 @@ interface UploadedFileFactoryInterface */ public function createUploadedFile( StreamInterface $stream, - int $size = null, + ?int $size = null, int $error = \UPLOAD_ERR_OK, - string $clientFilename = null, - string $clientMediaType = null + ?string $clientFilename = null, + ?string $clientMediaType = null ): UploadedFileInterface; } diff --git a/vendor/webeweb/core-library/src/accounting/Factory/AccountingAccountFactory.php b/vendor/webeweb/core-library/src/accounting/Factory/AccountingAccountFactory.php index 272ff16..e50cbfd 100644 --- a/vendor/webeweb/core-library/src/accounting/Factory/AccountingAccountFactory.php +++ b/vendor/webeweb/core-library/src/accounting/Factory/AccountingAccountFactory.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeAccountingAccount($this); diff --git a/vendor/webeweb/core-library/src/accounting/Model/AccountingAccountInterface.php b/vendor/webeweb/core-library/src/accounting/Model/AccountingAccountInterface.php index 9a0df29..0c93b0f 100644 --- a/vendor/webeweb/core-library/src/accounting/Model/AccountingAccountInterface.php +++ b/vendor/webeweb/core-library/src/accounting/Model/AccountingAccountInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeBankDetails($this); diff --git a/vendor/webeweb/core-library/src/accounting/Model/BankDetailsInterface.php b/vendor/webeweb/core-library/src/accounting/Model/BankDetailsInterface.php index 65674be..0078cec 100644 --- a/vendor/webeweb/core-library/src/accounting/Model/BankDetailsInterface.php +++ b/vendor/webeweb/core-library/src/accounting/Model/BankDetailsInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializePaymentChoice($this); diff --git a/vendor/webeweb/core-library/src/accounting/Model/PaymentChoiceInterface.php b/vendor/webeweb/core-library/src/accounting/Model/PaymentChoiceInterface.php index 875a80a..6ebf0c1 100644 --- a/vendor/webeweb/core-library/src/accounting/Model/PaymentChoiceInterface.php +++ b/vendor/webeweb/core-library/src/accounting/Model/PaymentChoiceInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializePaymentTerm($this); diff --git a/vendor/webeweb/core-library/src/accounting/Model/PaymentTermInterface.php b/vendor/webeweb/core-library/src/accounting/Model/PaymentTermInterface.php index 32e6569..e2c698c 100644 --- a/vendor/webeweb/core-library/src/accounting/Model/PaymentTermInterface.php +++ b/vendor/webeweb/core-library/src/accounting/Model/PaymentTermInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeVatRate($this); diff --git a/vendor/webeweb/core-library/src/accounting/Model/VatRateInterface.php b/vendor/webeweb/core-library/src/accounting/Model/VatRateInterface.php index 0314448..465a2e4 100644 --- a/vendor/webeweb/core-library/src/accounting/Model/VatRateInterface.php +++ b/vendor/webeweb/core-library/src/accounting/Model/VatRateInterface.php @@ -1,5 +1,7 @@ Returns the serialized model. */ public static function serializeAccountingAccount(AccountingAccountInterface $model): array { @@ -46,7 +48,7 @@ public static function serializeAccountingAccount(AccountingAccountInterface $mo * Serialize a bank details. * * @param BankDetailsInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeBankDetails(BankDetailsInterface $model): array { @@ -67,7 +69,7 @@ public static function serializeBankDetails(BankDetailsInterface $model): array * Serialize a payment choice. * * @param PaymentChoiceInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializePaymentChoice(PaymentChoiceInterface $model): array { @@ -80,7 +82,7 @@ public static function serializePaymentChoice(PaymentChoiceInterface $model): ar * Serialize a payment term. * * @param PaymentTermInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializePaymentTerm(PaymentTermInterface $model): array { @@ -94,7 +96,7 @@ public static function serializePaymentTerm(PaymentTermInterface $model): array * Serialize a VAT rate. * * @param VatRateInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeVatRate(VatRateInterface $model): array { diff --git a/vendor/webeweb/core-library/src/accounting/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/accounting/Serializer/SerializerKeys.php index a7823f0..75efd07 100644 --- a/vendor/webeweb/core-library/src/accounting/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/accounting/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ $postData The post data. * @return string Returns the response. * @throws ApiException Throws an API exception if an error occurs. */ diff --git a/vendor/webeweb/core-library/src/adoria/Serializer/RequestSerializer.php b/vendor/webeweb/core-library/src/adoria/Serializer/RequestSerializer.php index dfbd537..562d7f9 100644 --- a/vendor/webeweb/core-library/src/adoria/Serializer/RequestSerializer.php +++ b/vendor/webeweb/core-library/src/adoria/Serializer/RequestSerializer.php @@ -1,5 +1,7 @@ Returns the serialized request data. */ public static function serializeRequestData(RequestData $request): array { diff --git a/vendor/webeweb/core-library/src/adoria/Serializer/ResponseDeserializer.php b/vendor/webeweb/core-library/src/adoria/Serializer/ResponseDeserializer.php index 2a470fd..488a12a 100644 --- a/vendor/webeweb/core-library/src/adoria/Serializer/ResponseDeserializer.php +++ b/vendor/webeweb/core-library/src/adoria/Serializer/ResponseDeserializer.php @@ -1,5 +1,7 @@ */ protected $details; @@ -101,6 +103,7 @@ public function hasDetails(): bool { /** * {@inheritDoc} + * @return array Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeBillable($this); @@ -129,7 +132,7 @@ public function removeDetail(BillableDetailInterface $detail): BillableInterface /** * Set the details. * - * @param Collection $details The details. + * @param Collection $details The details. * @return BillableInterface Returns this billable. */ protected function setDetails(Collection $details): BillableInterface { diff --git a/vendor/webeweb/core-library/src/billing/Model/BillableDetail.php b/vendor/webeweb/core-library/src/billing/Model/BillableDetail.php index 5360b32..8243ab7 100644 --- a/vendor/webeweb/core-library/src/billing/Model/BillableDetail.php +++ b/vendor/webeweb/core-library/src/billing/Model/BillableDetail.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeBillableDetail($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/BillableDetailInterface.php b/vendor/webeweb/core-library/src/billing/Model/BillableDetailInterface.php index 0a26cd7..a43d126 100644 --- a/vendor/webeweb/core-library/src/billing/Model/BillableDetailInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/BillableDetailInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeDeliveryNote($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/DeliveryNoteInterface.php b/vendor/webeweb/core-library/src/billing/Model/DeliveryNoteInterface.php index 94428a2..a089d8c 100644 --- a/vendor/webeweb/core-library/src/billing/Model/DeliveryNoteInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/DeliveryNoteInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializePurchaseBill($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/PurchaseBillInterface.php b/vendor/webeweb/core-library/src/billing/Model/PurchaseBillInterface.php index 7a4176b..de8b9f0 100644 --- a/vendor/webeweb/core-library/src/billing/Model/PurchaseBillInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/PurchaseBillInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializePurchaseOrder($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/PurchaseOrderInterface.php b/vendor/webeweb/core-library/src/billing/Model/PurchaseOrderInterface.php index 050c465..1b3ae42 100644 --- a/vendor/webeweb/core-library/src/billing/Model/PurchaseOrderInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/PurchaseOrderInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeQuotation($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/QuotationInterface.php b/vendor/webeweb/core-library/src/billing/Model/QuotationInterface.php index fa3ec67..628f7d3 100644 --- a/vendor/webeweb/core-library/src/billing/Model/QuotationInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/QuotationInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeSalesBill($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/SalesBillInterface.php b/vendor/webeweb/core-library/src/billing/Model/SalesBillInterface.php index e4a9be8..c279170 100644 --- a/vendor/webeweb/core-library/src/billing/Model/SalesBillInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/SalesBillInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeTaxable($this); diff --git a/vendor/webeweb/core-library/src/billing/Model/TaxableInterface.php b/vendor/webeweb/core-library/src/billing/Model/TaxableInterface.php index c49efa2..bfefab6 100644 --- a/vendor/webeweb/core-library/src/billing/Model/TaxableInterface.php +++ b/vendor/webeweb/core-library/src/billing/Model/TaxableInterface.php @@ -1,5 +1,7 @@ Returns the serialized billable. */ public static function serializeBillable(BillableInterface $model): array { @@ -62,7 +64,7 @@ public static function serializeBillable(BillableInterface $model): array { * Serialize a billable detail. * * @param BillableDetailInterface $model The model. - * @return array Returns the serialized billable detail. + * @return array Returns the serialized billable detail. */ public static function serializeBillableDetail(BillableDetailInterface $model): array { @@ -84,7 +86,7 @@ public static function serializeBillableDetail(BillableDetailInterface $model): * Serialize a billing address. * * @param BillingAddressInterface $model The model. - * @return array Returns the serialized billing address. + * @return array Returns the serialized billing address. */ public static function serializeBillingAddress(BillingAddressInterface $model): array { @@ -102,7 +104,7 @@ public static function serializeBillingAddress(BillingAddressInterface $model): * Serialize a delivery address. * * @param DeliveryAddressInterface $model The model. - * @return array Returns the serialized sending address. + * @return array Returns the serialized sending address. */ public static function serializeDeliveryAddress(DeliveryAddressInterface $model): array { @@ -120,7 +122,7 @@ public static function serializeDeliveryAddress(DeliveryAddressInterface $model) * Serialize a delivery note. * * @param DeliveryNoteInterface $model The model. - * @return array Returns the serialized delivery note. + * @return array Returns the serialized delivery note. */ public static function serializeDeliveryNote(DeliveryNoteInterface $model): array { return static::serializeBillable($model); @@ -130,7 +132,7 @@ public static function serializeDeliveryNote(DeliveryNoteInterface $model): arra * Serialize a purchase bill. * * @param PurchaseBillInterface $model The model. - * @return array Returns the serialized purchase bill. + * @return array Returns the serialized purchase bill. */ public static function serializePurchaseBill(PurchaseBillInterface $model): array { @@ -145,7 +147,7 @@ public static function serializePurchaseBill(PurchaseBillInterface $model): arra * Serialize a purchase order. * * @param PurchaseOrderInterface $model The model. - * @return array Returns the serialized purchase order. + * @return array Returns the serialized purchase order. */ public static function serializePurchaseOrder(PurchaseOrderInterface $model): array { return static::serializeBillable($model); @@ -155,7 +157,7 @@ public static function serializePurchaseOrder(PurchaseOrderInterface $model): ar * Serialize a quotation. * * @param QuotationInterface $model The model. - * @return array Returns the serialized quotation. + * @return array Returns the serialized quotation. */ public static function serializeQuotation(QuotationInterface $model): array { @@ -170,7 +172,7 @@ public static function serializeQuotation(QuotationInterface $model): array { * Serialize a sales bill. * * @param SalesBillInterface $model The model. - * @return array Returns the serialized sales bill. + * @return array Returns the serialized sales bill. */ public static function serializeSalesBill(SalesBillInterface $model): array { return static::serializeBillable($model); @@ -180,7 +182,7 @@ public static function serializeSalesBill(SalesBillInterface $model): array { * Serialize a sending address. * * @param SendingAddressInterface $model The model. - * @return array Returns the serialized sending address. + * @return array Returns the serialized sending address. */ public static function serializeSendingAddress(SendingAddressInterface $model): array { @@ -198,7 +200,7 @@ public static function serializeSendingAddress(SendingAddressInterface $model): * Serialize a taxable. * * @param TaxableInterface $model The model. - * @return array Returns the serialized taxable. + * @return array Returns the serialized taxable. */ public static function serializeTaxable(TaxableInterface $model): array { diff --git a/vendor/webeweb/core-library/src/billing/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/billing/Serializer/SerializerKeys.php index 76f986c..db4fae6 100644 --- a/vendor/webeweb/core-library/src/billing/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/billing/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ */ private $index; /** * Children nodes. * - * @var AbstractNode[] + * @var AbstractNode[]|null */ private $nodes; /** * Parent node. * - * @var AbstractNode + * @var AbstractNode|null */ private $parent; @@ -66,9 +68,12 @@ protected function __construct(string $id) { * @return AbstractNode Returns this node. */ public function addNode(AbstractNode $node): AbstractNode { - $node->parent = $this; + $this->index[$node->id] = count($this->nodes); - $this->nodes[] = $node; + + $node->parent = $this; + + $this->nodes[] = $node; return $this; } @@ -169,7 +174,7 @@ public function getNodes(): array { /** * Get the parent. * - * @return AbstractNode Returns the parent. + * @return AbstractNode|null Returns the parent. */ public function getParent(): ?AbstractNode { return $this->parent; @@ -206,7 +211,7 @@ protected function setId(string $id): AbstractNode { /** * Set the index. * - * @param array $index The index. + * @param array $index The index. * @return AbstractNode Returns this node. */ protected function setIndex(array $index): AbstractNode { diff --git a/vendor/webeweb/core-library/src/core/Model/CivilityInterface.php b/vendor/webeweb/core-library/src/core/Model/CivilityInterface.php index 5a62463..25bce93 100644 --- a/vendor/webeweb/core-library/src/core/Model/CivilityInterface.php +++ b/vendor/webeweb/core-library/src/core/Model/CivilityInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/core/Model/MaritalStatusInterface.php b/vendor/webeweb/core-library/src/core/Model/MaritalStatusInterface.php index 2d0f71b..1d02990 100644 --- a/vendor/webeweb/core-library/src/core/Model/MaritalStatusInterface.php +++ b/vendor/webeweb/core-library/src/core/Model/MaritalStatusInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/curl/Api/RequestInterface.php b/vendor/webeweb/core-library/src/curl/Api/RequestInterface.php index d1ca844..15e7547 100644 --- a/vendor/webeweb/core-library/src/curl/Api/RequestInterface.php +++ b/vendor/webeweb/core-library/src/curl/Api/RequestInterface.php @@ -1,5 +1,7 @@ Returns the headers. */ public function getHeaders(): array; @@ -151,14 +153,14 @@ public function getMethod(): string; /** * Get the POST data. * - * @return array Returns the POST data. + * @return array Returns the POST data. */ public function getPostData(): array; /** * Get the query data. * - * @return array Returns the query data. + * @return array Returns the query data. */ public function getQueryData(): array; diff --git a/vendor/webeweb/core-library/src/curl/Api/ResponseInterface.php b/vendor/webeweb/core-library/src/curl/Api/ResponseInterface.php index 67e96ad..b643201 100644 --- a/vendor/webeweb/core-library/src/curl/Api/ResponseInterface.php +++ b/vendor/webeweb/core-library/src/curl/Api/ResponseInterface.php @@ -1,5 +1,7 @@ Returns the response info. */ public function getResponseInfo(): array; } diff --git a/vendor/webeweb/core-library/src/curl/Configuration/Configuration.php b/vendor/webeweb/core-library/src/curl/Configuration/Configuration.php index 1d0d013..89f6ac1 100644 --- a/vendor/webeweb/core-library/src/curl/Configuration/Configuration.php +++ b/vendor/webeweb/core-library/src/curl/Configuration/Configuration.php @@ -1,5 +1,7 @@ */ private $headers; @@ -146,7 +148,7 @@ public function __construct() { } /** - * Add an header. + * Add a header. * * @param string $name The header name. * @param string $value The header value. @@ -196,7 +198,7 @@ public function getDebugFile(): string { /** * Get the headers. * - * @return array Returns the headers. + * @return array Returns the headers. */ public function getHeaders(): array { return $this->headers; @@ -349,7 +351,7 @@ public function setDebugFile(string $debugFile): Configuration { /** * Set the headers. * - * @param array $headers The headers + * @param array $headers The headers * @return Configuration Returns this configuration. */ protected function setHeaders(array $headers): Configuration { diff --git a/vendor/webeweb/core-library/src/curl/Exception/AbstractException.php b/vendor/webeweb/core-library/src/curl/Exception/AbstractException.php index 32721e5..c3e3188 100644 --- a/vendor/webeweb/core-library/src/curl/Exception/AbstractException.php +++ b/vendor/webeweb/core-library/src/curl/Exception/AbstractException.php @@ -1,5 +1,7 @@ $headers The headers. * @return void */ public static function setHeaders($stream, array $headers): void { diff --git a/vendor/webeweb/core-library/src/curl/Request/AbstractRequest.php b/vendor/webeweb/core-library/src/curl/Request/AbstractRequest.php index 042520d..22f06af 100644 --- a/vendor/webeweb/core-library/src/curl/Request/AbstractRequest.php +++ b/vendor/webeweb/core-library/src/curl/Request/AbstractRequest.php @@ -1,5 +1,7 @@ */ private $headers; @@ -53,14 +56,14 @@ abstract class AbstractRequest implements RequestInterface { /** * POST data. * - * @var array + * @var array */ private $postData; /** * Query data. * - * @var array + * @var array */ private $queryData; @@ -143,11 +146,12 @@ public function call(): ResponseInterface { $curlExec = curl_exec($stream); $curlGetInfo = curl_getinfo($stream, CURLINFO_HEADER_SIZE); - $responseHeader = $this->parseheader(substr($curlExec, 0, $curlGetInfo)); - $responseBody = substr($curlExec, $curlGetInfo); + $responseHeader = false === is_bool($curlExec) ? $this->parseheader(substr($curlExec, 0, $curlGetInfo)) : []; + $responseBody = false === is_bool($curlExec) ? substr($curlExec, $curlGetInfo) : ""; $responseInfo = curl_getinfo($stream); if (true === $this->getConfiguration()->getDebug()) { + $msg = (new DateTime())->format("c") . " [DEBUG] $requestUrl" . PHP_EOL . "HTTP response body ~BEGIN~" . PHP_EOL . print_r($responseBody, true) . PHP_EOL . "~END~" . PHP_EOL; error_log($msg, 3, $this->getConfiguration()->getDebugFile()); } @@ -161,6 +165,7 @@ public function call(): ResponseInterface { $msg = curl_errno($stream); if (0 === $curlHttpCode) { + if (false === empty(curl_error($stream))) { $msg = "Call to $requestUrl failed : " . curl_error($stream); } else { @@ -168,7 +173,7 @@ public function call(): ResponseInterface { } } - throw new RequestCallException($msg, $curlHttpCode, $response); + throw new RequestCallException((string) $msg, $curlHttpCode, $response); } /** @@ -237,7 +242,7 @@ public function getResourcePath(): string { /** * Merge the headers. * - * @return array Returns the merged headers. + * @return string[] Returns the merged headers. */ private function mergeHeaders(): array { @@ -271,7 +276,7 @@ private function mergeUrl(): string { * Parse the raw header. * * @param string $rawHeader The raw header. - * @return array Returns the headers. + * @return array Returns the headers. */ private function parseHeader(string $rawHeader): array { @@ -279,8 +284,11 @@ private function parseHeader(string $rawHeader): array { $key = ""; foreach (explode("\n", $rawHeader) as $h) { + $h = explode(":", $h, 2); + if (true === isset($h[1])) { + if (false === isset($headers[$h[0]])) { $headers[$h[0]] = trim($h[1]); } else if (true === is_array($headers[$h[0]])) { @@ -288,14 +296,15 @@ private function parseHeader(string $rawHeader): array { } else { $headers[$h[0]] = array_merge([$headers[$h[0]]], [trim($h[1])]); } + $key = $h[0]; } else { + if ("\t" === substr($h[0], 0, 1)) { $headers[$key] .= "\r\n\t" . trim($h[0]); } else if (!$key) { $headers[0] = trim($h[0]); } - trim($h[0]); } } @@ -306,15 +315,16 @@ private function parseHeader(string $rawHeader): array { * Prepare a response. * * @param string $requestBody The request body. - * @param array $requestHeader The request header. + * @param array $requestHeader The request header. * @param string $requestUri The request URI. * @param string $responseBody The response body. - * @param array $responseHeader The response header. - * @param array $responseInfo The response info. + * @param array $responseHeader The response header. + * @param array $responseInfo The response info. * @return ResponseInterface Returns the response. */ private function prepareResponse(string $requestBody, array $requestHeader, string $requestUri, string $responseBody, array $responseHeader, array $responseInfo): ResponseInterface { + /** @var Response $response */ $response = CurlFactory::newCURLResponse(); $response->setRequestBody($requestBody); $response->setRequestHeader($requestHeader); @@ -376,7 +386,7 @@ protected function setConfiguration(Configuration $configuration): RequestInterf /** * Set the headers. * - * @param array $headers The headers. + * @param array $headers The headers. * @return RequestInterface Returns this request. */ protected function setHeaders(array $headers): RequestInterface { @@ -413,7 +423,7 @@ protected function setMethod(string $method): RequestInterface { /** * Set the POST data. * - * @param array $postData The POST data. + * @param array $postData The POST data. * @return RequestInterface Returns this request. */ protected function setPostData(array $postData): RequestInterface { @@ -424,7 +434,7 @@ protected function setPostData(array $postData): RequestInterface { /** * Set the query data. * - * @param array $queryData The query data. + * @param array $queryData The query data. * @return RequestInterface Returns this request. */ protected function setQueryData(array $queryData): RequestInterface { @@ -436,7 +446,11 @@ protected function setQueryData(array $queryData): RequestInterface { * {@inheritDoc} */ public function setResourcePath(?string $resourcePath): RequestInterface { - $this->resourcePath = preg_replace("/^\//", "", trim($resourcePath)); + + if (null !== $resourcePath) { + $this->resourcePath = preg_replace("/^\//", "", trim($resourcePath)); + } + return $this; } } diff --git a/vendor/webeweb/core-library/src/curl/Request/DeleteRequest.php b/vendor/webeweb/core-library/src/curl/Request/DeleteRequest.php index df9aa5b..1db6426 100644 --- a/vendor/webeweb/core-library/src/curl/Request/DeleteRequest.php +++ b/vendor/webeweb/core-library/src/curl/Request/DeleteRequest.php @@ -1,5 +1,7 @@ */ private $responseInfo; @@ -128,7 +130,7 @@ public function setRequestBody(?string $requestBody): Response { /** * Set the request header. * - * @param array $requestHeader The request header. + * @param string[] $requestHeader The request header. * @return Response Returns this response. */ public function setRequestHeader(array $requestHeader): Response { @@ -161,7 +163,7 @@ public function setResponseBody(?string $responseBody): Response { /** * Set the response header. * - * @param array $responseHeader The response header. + * @param string[] $responseHeader The response header. * @return Response Returns this response. */ public function setResponseHeader(array $responseHeader): Response { @@ -172,7 +174,7 @@ public function setResponseHeader(array $responseHeader): Response { /** * Set the response info. * - * @param array $responseInfo The response info. + * @param array $responseInfo The response info. * @return Response Returns this response. */ public function setResponseInfo(array $responseInfo): Response { diff --git a/vendor/webeweb/core-library/src/database/Connector/AbstractDatabaseConnector.php b/vendor/webeweb/core-library/src/database/Connector/AbstractDatabaseConnector.php index 0a1860f..b912459 100644 --- a/vendor/webeweb/core-library/src/database/Connector/AbstractDatabaseConnector.php +++ b/vendor/webeweb/core-library/src/database/Connector/AbstractDatabaseConnector.php @@ -1,5 +1,7 @@ :key. + * @param string[] $fields The fields. + * @return array Returns the binding as key => :key. */ public function prepareBinding(array $fields): array { @@ -115,7 +117,7 @@ public function prepareBinding(array $fields): array { * Prepare an INSERT SQL query. * * @param string $table The table. - * @param array $values The values [field => value]. + * @param array $values The values [field => value]. * @return string Returns the INSERT SQL query. */ public function prepareInsert(string $table, array $values): string { @@ -137,7 +139,7 @@ public function prepareInsert(string $table, array $values): string { * Prepare an UPDATE SQL query. * * @param string $table The table. - * @param array $values The values [field => value] + * @param array $values The values [field => value] * @return string Returns the UPDATE SQL query. */ public function prepareUpdate(string $table, array $values): string { diff --git a/vendor/webeweb/core-library/src/database/Connector/MicrosoftAccessDatabaseConnector.php b/vendor/webeweb/core-library/src/database/Connector/MicrosoftAccessDatabaseConnector.php index 70ef3e9..75e14b0 100644 --- a/vendor/webeweb/core-library/src/database/Connector/MicrosoftAccessDatabaseConnector.php +++ b/vendor/webeweb/core-library/src/database/Connector/MicrosoftAccessDatabaseConnector.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeDropdownItem($this); diff --git a/vendor/webeweb/core-library/src/dropdown/Model/DropdownItemInterface.php b/vendor/webeweb/core-library/src/dropdown/Model/DropdownItemInterface.php index 20ebf5f..a6a4431 100644 --- a/vendor/webeweb/core-library/src/dropdown/Model/DropdownItemInterface.php +++ b/vendor/webeweb/core-library/src/dropdown/Model/DropdownItemInterface.php @@ -1,5 +1,7 @@ Returns the serialized model. */ public static function serializeDropdownItem(DropdownItemInterface $model): array { diff --git a/vendor/webeweb/core-library/src/dropdown/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/dropdown/Serializer/SerializerKeys.php index a8ca912..3305e35 100644 --- a/vendor/webeweb/core-library/src/dropdown/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/dropdown/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ getAuthenticator()->getPasswordAuthentication()->getUsername(); $password = $this->getAuthenticator()->getPasswordAuthentication()->getPassword(); - if (false === @ftp_login($this->getConnection(), $username, $password)) { + if (null === $username || null === $password || false === @ftp_login($this->getConnection(), $username, $password)) { throw $this->newFtpException("ftp_login failed: [$username]"); } @@ -373,7 +375,7 @@ public function pwd(): string { * * @param string $directory The directory. * @param bool $recursive Recursive ? - * @return array Returns a detailed list of files in the given directory. + * @return string[] Returns a detailed list of files in the given directory. * @throws FtpException Throws an FTP exception if an error occurs. */ public function rawList(string $directory, bool $recursive = false): array { diff --git a/vendor/webeweb/core-library/src/ftp/Client/FtpsClient.php b/vendor/webeweb/core-library/src/ftp/Client/FtpsClient.php index 3ad944b..036c683 100644 --- a/vendor/webeweb/core-library/src/ftp/Client/FtpsClient.php +++ b/vendor/webeweb/core-library/src/ftp/Client/FtpsClient.php @@ -1,5 +1,7 @@ getAuthenticator()->getPasswordAuthentication()->getUsername(); $password = $this->getAuthenticator()->getPasswordAuthentication()->getPassword(); - if (false === @ssh2_auth_password($this->getConnection(), $username, $password)) { + if (null === $username || null === $password || false === @ssh2_auth_password($this->getConnection(), $username, $password)) { throw $this->newFtpException("ssh2_auth_password failed: [$username]"); } diff --git a/vendor/webeweb/core-library/src/ftp/Exception/FtpException.php b/vendor/webeweb/core-library/src/ftp/Exception/FtpException.php index 9e4b2a8..5d4dc85 100644 --- a/vendor/webeweb/core-library/src/ftp/Exception/FtpException.php +++ b/vendor/webeweb/core-library/src/ftp/Exception/FtpException.php @@ -1,5 +1,7 @@ format("Y-m-d h:i:s"), $level, diff --git a/vendor/webeweb/core-library/src/maths/Helper/FibonacciHelper.php b/vendor/webeweb/core-library/src/maths/Helper/FibonacciHelper.php index 20ef30c..1292abe 100644 --- a/vendor/webeweb/core-library/src/maths/Helper/FibonacciHelper.php +++ b/vendor/webeweb/core-library/src/maths/Helper/FibonacciHelper.php @@ -1,5 +1,7 @@ Returns the file paths. */ protected function buildFilePaths(IOFile $file): array { diff --git a/vendor/webeweb/core-library/src/ocrlad/Provider/OcrProviderTrait.php b/vendor/webeweb/core-library/src/ocrlad/Provider/OcrProviderTrait.php index e707c25..8ea1bb5 100644 --- a/vendor/webeweb/core-library/src/ocrlad/Provider/OcrProviderTrait.php +++ b/vendor/webeweb/core-library/src/ocrlad/Provider/OcrProviderTrait.php @@ -1,5 +1,7 @@ addWord($word); } diff --git a/vendor/webeweb/core-library/src/ocrlad/Traits/Arrays/ArrayWordsTrait.php b/vendor/webeweb/core-library/src/ocrlad/Traits/Arrays/ArrayWordsTrait.php index 783218d..03c0be8 100644 --- a/vendor/webeweb/core-library/src/ocrlad/Traits/Arrays/ArrayWordsTrait.php +++ b/vendor/webeweb/core-library/src/ocrlad/Traits/Arrays/ArrayWordsTrait.php @@ -1,5 +1,7 @@ Returns the substituables. */ public function getSubstituables(): array; } diff --git a/vendor/webeweb/core-library/src/provider/Exception/ApiException.php b/vendor/webeweb/core-library/src/provider/Exception/ApiException.php index b856bd6..14dd768 100644 --- a/vendor/webeweb/core-library/src/provider/Exception/ApiException.php +++ b/vendor/webeweb/core-library/src/provider/Exception/ApiException.php @@ -1,5 +1,7 @@ $models The models. * @return string Returns the serialized array. */ public static function csvSerializeArray(array $models): string { diff --git a/vendor/webeweb/core-library/src/serializer/Helper/JsonSerializerHelper.php b/vendor/webeweb/core-library/src/serializer/Helper/JsonSerializerHelper.php index 3e599c2..b1026e6 100644 --- a/vendor/webeweb/core-library/src/serializer/Helper/JsonSerializerHelper.php +++ b/vendor/webeweb/core-library/src/serializer/Helper/JsonSerializerHelper.php @@ -1,5 +1,7 @@ $models The models. + * @return mixed[] Returns the serialized array. */ public static function jsonSerializeArray(array $models): array { @@ -46,7 +48,7 @@ public static function jsonSerializeArray(array $models): array { * Serialize a model. * * @param JsonSerializable|null $model The model. - * @return array|null Returns the serialized model. + * @return array|null Returns the serialized model. */ public static function jsonSerializeModel(?JsonSerializable $model): ?array { diff --git a/vendor/webeweb/core-library/src/serializer/Helper/SerializerHelper.php b/vendor/webeweb/core-library/src/serializer/Helper/SerializerHelper.php index c6ea4f8..3e58e70 100644 --- a/vendor/webeweb/core-library/src/serializer/Helper/SerializerHelper.php +++ b/vendor/webeweb/core-library/src/serializer/Helper/SerializerHelper.php @@ -1,5 +1,7 @@ |null $domNodeList The DOM node list. * @return DOMNode|null Returns the DOM node in case of success, null otherwise. */ public static function getDomNodeByName(string $nodeName, DOMNodeList $domNodeList = null): ?DOMNode { @@ -78,7 +80,7 @@ public static function getDomNodeByName(string $nodeName, DOMNodeList $domNodeLi * Get the DOM nodes by name. * * @param string $nodeName The node name. - * @param DOMNodeList|null $domNodeList The DOM node list. + * @param DOMNodeList|null $domNodeList The DOM node list. * @return DOMNode[] Returns the DOM nodes. */ public static function getDomNodesByName(string $nodeName, DOMNodeList $domNodeList = null): array { diff --git a/vendor/webeweb/core-library/src/serializer/Helper/XmlSerializerHelper.php b/vendor/webeweb/core-library/src/serializer/Helper/XmlSerializerHelper.php index 9f882f5..4bd0b8d 100644 --- a/vendor/webeweb/core-library/src/serializer/Helper/XmlSerializerHelper.php +++ b/vendor/webeweb/core-library/src/serializer/Helper/XmlSerializerHelper.php @@ -1,5 +1,7 @@ $models The models. * @return string Returns the serialized array. */ public static function xmlSerializeArray(array $models): string { diff --git a/vendor/webeweb/core-library/src/serializer/Model/CsvSerializable.php b/vendor/webeweb/core-library/src/serializer/Model/CsvSerializable.php index dde6aa2..b5e0ab4 100644 --- a/vendor/webeweb/core-library/src/serializer/Model/CsvSerializable.php +++ b/vendor/webeweb/core-library/src/serializer/Model/CsvSerializable.php @@ -1,5 +1,7 @@ Returns the choices. */ public static function createChoices(array $choices): array { @@ -65,7 +67,7 @@ public static function getLevel(AlphabeticalTreeNodeInterface $node): int { * Get the path. * * @param AlphabeticalTreeNodeInterface $node The node. - * @return array Returns the path. + * @return AlphabeticalTreeNodeInterface[] Returns the path. */ public static function getPath(AlphabeticalTreeNodeInterface $node): array { @@ -106,8 +108,8 @@ public static function removeOrphan(array &$nodes = []): void { /** * Sort. * - * @param array $nodes The nodes. - * @return array Returns the sorted nodes. + * @param AlphabeticalTreeNodeInterface[] $nodes The nodes. + * @return AlphabeticalTreeNodeInterface[] Returns the sorted nodes. */ public static function sort(array $nodes): array { diff --git a/vendor/webeweb/core-library/src/sorter/Model/AlphabeticalTreeNodeInterface.php b/vendor/webeweb/core-library/src/sorter/Model/AlphabeticalTreeNodeInterface.php index eccd55f..8369cb3 100644 --- a/vendor/webeweb/core-library/src/sorter/Model/AlphabeticalTreeNodeInterface.php +++ b/vendor/webeweb/core-library/src/sorter/Model/AlphabeticalTreeNodeInterface.php @@ -1,5 +1,7 @@ values; @@ -115,7 +117,7 @@ protected function setFunctor(FunctorInterface $functor): QuickSort { /** * Set the values. * - * @param array $values The values. + * @param mixed[] $values The values. * @return QuickSort Returns this quick sort. */ protected function setValues(array $values): QuickSort { diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractAlert.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractAlert.php index 15c10cc..0601f64 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractAlert.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractAlert.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeAlert($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractBadge.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractBadge.php index cc837d3..5da9a03 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractBadge.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractBadge.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeBadge($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractButton.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractButton.php index 1e0c904..fd4c39c 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractButton.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractButton.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeButton($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractIcon.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractIcon.php index c277e6f..f206968 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractIcon.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractIcon.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeIcon($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractLabel.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractLabel.php index 5eb3d3d..ff0fca1 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractLabel.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractLabel.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeLabel($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractNavigationNode.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractNavigationNode.php index 353280f..963a8f2 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractNavigationNode.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractNavigationNode.php @@ -1,5 +1,7 @@ */ private $index; @@ -61,14 +63,14 @@ abstract class AbstractNavigationNode implements NavigationNodeInterface { /** * Navigation nodes. * - * @var AbstractNavigationNode[] + * @var NavigationNodeInterface[]|null */ private $nodes; /** * Parent. * - * @var AbstractNavigationNode|null + * @var NavigationNodeInterface|null */ private $parent; @@ -99,8 +101,10 @@ protected function __construct(string $label, string $icon = null, string $uri = * {@inheritDoc} */ public function addNode(NavigationNodeInterface $node): NavigationNodeInterface { + $this->index[$node->getId()] = $this->size(); - $this->nodes[] = $node->setParent($this); + + $this->nodes[] = $node->setParent($this); return $this; } @@ -236,6 +240,7 @@ public function isDisplayable(): bool { /** * {@inheritDoc} + * @return array Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeNavigationNode($this); @@ -259,10 +264,10 @@ public function removeNode(NavigationNodeInterface $node): NavigationNodeInterfa /** * Set the index. * - * @param array $index The index. - * @return AbstractNavigationNode Returns this navigation node. + * @param array $index The index. + * @return NavigationNodeInterface Returns this navigation node. */ - protected function setIndex(array $index): AbstractNavigationNode { + protected function setIndex(array $index): NavigationNodeInterface { $this->index = $index; return $this; } @@ -278,21 +283,18 @@ public function setMatcher(?string $matcher): NavigationNodeInterface { /** * Set the navigation nodes. * - * @param AbstractNavigationNode[] $nodes The navigation nodes. - * @return AbstractNavigationNode Returns this navigation node. + * @param NavigationNodeInterface[] $nodes The navigation nodes. + * @return NavigationNodeInterface Returns this navigation node. */ - protected function setNodes(array $nodes): AbstractNavigationNode { + protected function setNodes(array $nodes): NavigationNodeInterface { $this->nodes = $nodes; return $this; } /** - * Set the parent. - * - * @param AbstractNavigationNode|null $parent The parent. - * @return AbstractNavigationNode Returns this navigation node. + * {@inheritDoc} */ - protected function setParent(?AbstractNavigationNode $parent): AbstractNavigationNode { + public function setParent(?NavigationNodeInterface $parent): NavigationNodeInterface { $this->parent = $parent; return $this; } @@ -317,9 +319,9 @@ public function setUri(?string $uri): NavigationNodeInterface { * Set the visible. * * @param bool|null $visible Visible ? - * @return AbstractNavigationNode Returns this navigation node. + * @return NavigationNodeInterface Returns this navigation node. */ - protected function setVisible(?bool $visible): AbstractNavigationNode { + protected function setVisible(?bool $visible): NavigationNodeInterface { $this->visible = $visible; return $this; } diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractNotification.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractNotification.php index 9aaf44c..2f1c903 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractNotification.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractNotification.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeNotification($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractProgressBar.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractProgressBar.php index 5073085..a89a52b 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractProgressBar.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractProgressBar.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeProgressBar($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AbstractToast.php b/vendor/webeweb/core-library/src/symfony/Assets/AbstractToast.php index 2de75e4..2c98b3e 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AbstractToast.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AbstractToast.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeToast($this); diff --git a/vendor/webeweb/core-library/src/symfony/Assets/AlertInterface.php b/vendor/webeweb/core-library/src/symfony/Assets/AlertInterface.php index ce551f7..e7cfb4a 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/AlertInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/AlertInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeFullCalendarEvent($this); @@ -304,7 +307,7 @@ public function setBorderColor(?string $borderColor): FullCalendarEvent { /** * Set the class names. * - * @param array $classNames The class names. + * @param string[] $classNames The class names. * @return FullCalendarEvent Returns this Full Calendar event. */ public function setClassNames(array $classNames): FullCalendarEvent { @@ -370,7 +373,7 @@ public function setEndStr(?string $endStr): FullCalendarEvent { /** * Set the extra params. * - * @param array $extraParams The extra params. + * @param mixed[] $extraParams The extra params. * @return FullCalendarEvent Returns this Full Calendar event. */ public function setExtraParams(array $extraParams): FullCalendarEvent { diff --git a/vendor/webeweb/core-library/src/symfony/Assets/FullCalendarEventInterface.php b/vendor/webeweb/core-library/src/symfony/Assets/FullCalendarEventInterface.php index 0bdb2ed..b113c92 100644 --- a/vendor/webeweb/core-library/src/symfony/Assets/FullCalendarEventInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Assets/FullCalendarEventInterface.php @@ -1,5 +1,7 @@ getProviders() as $current) { if ($identifier === ColorHelper::getIdentifier($current)) { diff --git a/vendor/webeweb/core-library/src/symfony/Manager/ColorManagerInterface.php b/vendor/webeweb/core-library/src/symfony/Manager/ColorManagerInterface.php index a19f2d2..b22873b 100644 --- a/vendor/webeweb/core-library/src/symfony/Manager/ColorManagerInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Manager/ColorManagerInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeRepositoryEvent($this); diff --git a/vendor/webeweb/core-library/src/symfony/Model/RepositoryEventInterface.php b/vendor/webeweb/core-library/src/symfony/Model/RepositoryEventInterface.php index e0a81c5..dcc91a4 100644 --- a/vendor/webeweb/core-library/src/symfony/Model/RepositoryEventInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Model/RepositoryEventInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeRequestDetail($this); diff --git a/vendor/webeweb/core-library/src/symfony/Model/RequestDetailInterface.php b/vendor/webeweb/core-library/src/symfony/Model/RequestDetailInterface.php index 8d7ca22..0eea2cc 100644 --- a/vendor/webeweb/core-library/src/symfony/Model/RequestDetailInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Model/RequestDetailInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/symfony/Provider/AbstractQuoteProvider.php b/vendor/webeweb/core-library/src/symfony/Provider/AbstractQuoteProvider.php index 0ab7b1c..7288c22 100644 --- a/vendor/webeweb/core-library/src/symfony/Provider/AbstractQuoteProvider.php +++ b/vendor/webeweb/core-library/src/symfony/Provider/AbstractQuoteProvider.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/symfony/Response/DefaultJsonResponseDataInterface.php b/vendor/webeweb/core-library/src/symfony/Response/DefaultJsonResponseDataInterface.php index 94f3677..e805349 100644 --- a/vendor/webeweb/core-library/src/symfony/Response/DefaultJsonResponseDataInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Response/DefaultJsonResponseDataInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/symfony/Response/SimpleJsonResponseDataInterface.php b/vendor/webeweb/core-library/src/symfony/Response/SimpleJsonResponseDataInterface.php index fcf068c..8b9140b 100644 --- a/vendor/webeweb/core-library/src/symfony/Response/SimpleJsonResponseDataInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Response/SimpleJsonResponseDataInterface.php @@ -1,5 +1,7 @@ Returns the serialized model. */ public static function serializeAlert(AlertInterface $model): array { @@ -55,7 +57,7 @@ public static function serializeAlert(AlertInterface $model): array { * Serialize an badge. * * @param BadgeInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeBadge(BadgeInterface $model): array { @@ -69,7 +71,7 @@ public static function serializeBadge(BadgeInterface $model): array { * Serialize a button. * * @param ButtonInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeButton(ButtonInterface $model): array { @@ -83,7 +85,7 @@ public static function serializeButton(ButtonInterface $model): array { * Serialize a Full Calendar event. * * @param FullCalendarEventInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeFullCalendarEvent(FullCalendarEventInterface $model): array { @@ -123,7 +125,7 @@ public static function serializeFullCalendarEvent(FullCalendarEventInterface $mo * Serialize an icon. * * @param IconInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeIcon(IconInterface $model): array { @@ -137,7 +139,7 @@ public static function serializeIcon(IconInterface $model): array { * Serialize a label. * * @param LabelInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeLabel(LabelInterface $model): array { @@ -151,7 +153,7 @@ public static function serializeLabel(LabelInterface $model): array { * Serialize a navigation node. * * @param NavigationNodeInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeNavigationNode(NavigationNodeInterface $model): array { @@ -173,7 +175,7 @@ public static function serializeNavigationNode(NavigationNodeInterface $model): * Serialize a notification. * * @param NotificationInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeNotification(NotificationInterface $model): array { @@ -187,7 +189,7 @@ public static function serializeNotification(NotificationInterface $model): arra * Serialize a progress bar. * * @param ProgressBarInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeProgressBar(ProgressBarInterface $model): array { @@ -201,7 +203,7 @@ public static function serializeProgressBar(ProgressBarInterface $model): array * Serialize a repository event. * * @param RepositoryEventInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeRepositoryEvent(RepositoryEventInterface $model): array { @@ -225,7 +227,7 @@ public static function serializeRepositoryEvent(RepositoryEventInterface $model) * Serialize a request detail. * * @param RequestDetailInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeRequestDetail(RequestDetailInterface $model): array { @@ -247,7 +249,7 @@ public static function serializeRequestDetail(RequestDetailInterface $model): ar * Serialize a Select2 option. * * @param Select2OptionInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeSelect2Option(Select2OptionInterface $model): array { @@ -261,7 +263,7 @@ public static function serializeSelect2Option(Select2OptionInterface $model): ar * Serialize a Select2 options. * * @param Select2OptionInterface[] $models The models. - * @return array Returns the serialized models. + * @return mixed[] Returns the serialized models. * @throws InvalidArgumentException Throws an invalid argument exception if an item does not implement Select2OptionInterface. */ public static function serializeSelect2Options(array $models): array { @@ -279,7 +281,7 @@ public static function serializeSelect2Options(array $models): array { * Serialize a toast. * * @param ToastInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeToast(ToastInterface $model): array { diff --git a/vendor/webeweb/core-library/src/symfony/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/symfony/Serializer/SerializerKeys.php index e209036..0d8c53f 100644 --- a/vendor/webeweb/core-library/src/symfony/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/symfony/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ getDirectory(), $filename, @@ -95,7 +98,7 @@ public function path(string $filename): string { * @param SplFileInfo $uploadedFile The uploaded file. * @param string $subdirectory The subdirectory. * @param string|null $filename The filename. - * @param int|null $permissions The permissions. + * @param int $permissions The permissions. * @return string|null Returns the uploaded file path. */ public function save(SplFileInfo $uploadedFile, string $subdirectory, string $filename = null, int $permissions = 0600): ?string { diff --git a/vendor/webeweb/core-library/src/symfony/Service/UploadedFileServiceInterface.php b/vendor/webeweb/core-library/src/symfony/Service/UploadedFileServiceInterface.php index 4329deb..1da17aa 100644 --- a/vendor/webeweb/core-library/src/symfony/Service/UploadedFileServiceInterface.php +++ b/vendor/webeweb/core-library/src/symfony/Service/UploadedFileServiceInterface.php @@ -1,5 +1,7 @@ setName($name); - $model->setDuplex(trim($duplex)); - $model->setIpv4(trim($ipv4)); - $model->setIpv6(trim($ipv6)); - $model->setMac(trim($mac)); - $model->setSpeed(trim($speed)); - $model->setStatus(trim($status)); + $model->setDuplex(null !== $duplex ? trim($duplex) : ""); + $model->setIpv4(null !== $ipv4 ? trim($ipv4) : ""); + $model->setIpv6(null !== $ipv6 ? trim($ipv6) : ""); + $model->setMac(null !== $mac ? trim($mac) : ""); + $model->setSpeed(null !== $speed ? trim($speed) : ""); + $model->setStatus(null !== $status ? trim($status) : ""); return $model; } @@ -343,7 +345,7 @@ public static function retrieveProcessors(): array { /** * Retrieve the properties. * - * @return string[] Returns the properties. + * @return array Returns the properties. */ public static function retrieveProperties(): array { diff --git a/vendor/webeweb/core-library/src/system/Model/Cpu.php b/vendor/webeweb/core-library/src/system/Model/Cpu.php index 269349c..42a12b5 100644 --- a/vendor/webeweb/core-library/src/system/Model/Cpu.php +++ b/vendor/webeweb/core-library/src/system/Model/Cpu.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeCpu($this); diff --git a/vendor/webeweb/core-library/src/system/Model/CpuInterface.php b/vendor/webeweb/core-library/src/system/Model/CpuInterface.php index 9bb267d..0fa3cd5 100644 --- a/vendor/webeweb/core-library/src/system/Model/CpuInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/CpuInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeHardDisk($this); diff --git a/vendor/webeweb/core-library/src/system/Model/HardDiskInterface.php b/vendor/webeweb/core-library/src/system/Model/HardDiskInterface.php index 33cf894..e067596 100644 --- a/vendor/webeweb/core-library/src/system/Model/HardDiskInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/HardDiskInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeMemory($this); diff --git a/vendor/webeweb/core-library/src/system/Model/MemoryInterface.php b/vendor/webeweb/core-library/src/system/Model/MemoryInterface.php index acfeb0c..e073fd9 100644 --- a/vendor/webeweb/core-library/src/system/Model/MemoryInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/MemoryInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeNetwork($this); diff --git a/vendor/webeweb/core-library/src/system/Model/NetworkCard.php b/vendor/webeweb/core-library/src/system/Model/NetworkCard.php index 6a0e233..4689ca0 100644 --- a/vendor/webeweb/core-library/src/system/Model/NetworkCard.php +++ b/vendor/webeweb/core-library/src/system/Model/NetworkCard.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeNetworkCard($this); diff --git a/vendor/webeweb/core-library/src/system/Model/NetworkCardInterface.php b/vendor/webeweb/core-library/src/system/Model/NetworkCardInterface.php index afe0d29..4f225d0 100644 --- a/vendor/webeweb/core-library/src/system/Model/NetworkCardInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/NetworkCardInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeOperatingSystem($this); diff --git a/vendor/webeweb/core-library/src/system/Model/OperatingSystemInterface.php b/vendor/webeweb/core-library/src/system/Model/OperatingSystemInterface.php index 4f3c591..d9b34ff 100644 --- a/vendor/webeweb/core-library/src/system/Model/OperatingSystemInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/OperatingSystemInterface.php @@ -1,5 +1,7 @@ */ protected $values; /** * Constructor. * - * @param string[] $values The values. + * @param array $values The values. */ public function __construct(array $values) { $this->setValues($values); @@ -103,6 +105,7 @@ public function getVendorId(): ?string { /** * {@inheritDoc} + * @return array Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeProcessor($this); @@ -111,7 +114,7 @@ public function jsonSerialize(): array { /** * Set the values. * - * @param string[] $values The values. + * @param array $values The values. * @return ProcessorInterface Returns this processor. */ protected function setValues(array $values): ProcessorInterface { diff --git a/vendor/webeweb/core-library/src/system/Model/ProcessorInterface.php b/vendor/webeweb/core-library/src/system/Model/ProcessorInterface.php index e7b3042..b3245c1 100644 --- a/vendor/webeweb/core-library/src/system/Model/ProcessorInterface.php +++ b/vendor/webeweb/core-library/src/system/Model/ProcessorInterface.php @@ -1,5 +1,7 @@ Returns the serialized model. */ public static function serializeCpu(CpuInterface $model): array { @@ -52,7 +54,7 @@ public static function serializeCpu(CpuInterface $model): array { * Serialize a hard disk. * * @param HardDiskInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeHardDisk(HardDiskInterface $model): array { @@ -71,7 +73,7 @@ public static function serializeHardDisk(HardDiskInterface $model): array { * Serialize a memory. * * @param MemoryInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeMemory(MemoryInterface $model): array { return $model->getValues(); @@ -81,7 +83,7 @@ public static function serializeMemory(MemoryInterface $model): array { * Serialize a network. * * @param NetworkInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeNetwork(NetworkInterface $model): array { @@ -96,7 +98,7 @@ public static function serializeNetwork(NetworkInterface $model): array { * Serialize a network card. * * @param NetworkCardInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeNetworkCard(NetworkCardInterface $model): array { @@ -115,7 +117,7 @@ public static function serializeNetworkCard(NetworkCardInterface $model): array * Serialize an operating system. * * @param OperatingSystemInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeOperatingSystem(OperatingSystemInterface $model): array { @@ -131,7 +133,7 @@ public static function serializeOperatingSystem(OperatingSystemInterface $model) * Serialize a processor. * * @param ProcessorInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeProcessor(ProcessorInterface $model): array { return $model->getValues(); diff --git a/vendor/webeweb/core-library/src/system/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/system/Serializer/SerializerKeys.php index db06396..f286d95 100644 --- a/vendor/webeweb/core-library/src/system/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/system/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ data; @@ -38,7 +40,7 @@ public function getData(): ?array { /** * Set the data. * - * @param array|null $data The data. + * @param mixed[]|null $data The data. * @return self Returns this instance. */ public function setData(?array $data): self { diff --git a/vendor/webeweb/core-library/src/traits/Booleans/BooleanActiveTrait.php b/vendor/webeweb/core-library/src/traits/Booleans/BooleanActiveTrait.php index c5a9919..c551c79 100644 --- a/vendor/webeweb/core-library/src/traits/Booleans/BooleanActiveTrait.php +++ b/vendor/webeweb/core-library/src/traits/Booleans/BooleanActiveTrait.php @@ -1,5 +1,7 @@ $attributes The attributes. * @param bool $shortTag Short tag ? * @return string Returns the DOM node. */ @@ -172,7 +174,7 @@ public static function moreThan(?float $value): ?string { /** * Parse an array. * - * @param array $values The array. + * @param array $values The array. * @return string Returns the array converted into key="value". */ public static function parseArray(array $values): string { @@ -314,6 +316,11 @@ public static function toUpperCamelCase(?string $string): ?string { * @return string|null Returns the converted string. */ public static function ucfirst(?string $string): ?string { + + if (null === $string) { + return null; + } + return ucfirst(strtolower($string)); } @@ -325,6 +332,9 @@ public static function ucfirst(?string $string): ?string { * @return string|null Returns the converted string. */ public static function ucwords(?string $string, string $separators = " \t\r\n\f\v-"): ?string { + + $string = ObjectHelper::coalesce($string, ""); + return ucwords(strtolower($string), $separators); } @@ -338,6 +348,9 @@ public static function usortCallback(bool $asc = true): callable { return function(?string $string1, ?string $string2) use ($asc): int { + $string1 = ObjectHelper::coalesce($string1, ""); + $string2 = ObjectHelper::coalesce($string2, ""); + $result = strcmp($string1, $string2); return true === $asc ? $result : -$result; @@ -363,7 +376,7 @@ public static function wordWrap(?string $string, int $length = -1, int $precisio $words = explode($needle, $string); $count = count($words); - if (-1 === $length || mb_strlen($string) < $length || 0 === $count) { + if (-1 === $length || mb_strlen($string) < $length) { return $string; } diff --git a/vendor/webeweb/core-library/src/types/Helper/TimestampHelper.php b/vendor/webeweb/core-library/src/types/Helper/TimestampHelper.php index e1f8243..5f79255 100644 --- a/vendor/webeweb/core-library/src/types/Helper/TimestampHelper.php +++ b/vendor/webeweb/core-library/src/types/Helper/TimestampHelper.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { diff --git a/vendor/webeweb/core-library/src/validator/Status/DefaultStatus.php b/vendor/webeweb/core-library/src/validator/Status/DefaultStatus.php index 5244e9c..d89dabd 100644 --- a/vendor/webeweb/core-library/src/validator/Status/DefaultStatus.php +++ b/vendor/webeweb/core-library/src/validator/Status/DefaultStatus.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeRegistrationCertificate($this); diff --git a/vendor/webeweb/core-library/src/vehicle/Model/RegistrationCertificateInterface.php b/vendor/webeweb/core-library/src/vehicle/Model/RegistrationCertificateInterface.php index f1a6f26..b6fbf4d 100644 --- a/vendor/webeweb/core-library/src/vehicle/Model/RegistrationCertificateInterface.php +++ b/vendor/webeweb/core-library/src/vehicle/Model/RegistrationCertificateInterface.php @@ -1,5 +1,7 @@ Returns this serialized instance. */ public function jsonSerialize(): array { return JsonSerializer::serializeVehicleBrand($this); diff --git a/vendor/webeweb/core-library/src/vehicle/Model/VehicleBrandInterface.php b/vendor/webeweb/core-library/src/vehicle/Model/VehicleBrandInterface.php index 82bbcd2..e748da8 100644 --- a/vendor/webeweb/core-library/src/vehicle/Model/VehicleBrandInterface.php +++ b/vendor/webeweb/core-library/src/vehicle/Model/VehicleBrandInterface.php @@ -1,5 +1,7 @@ Returns the serialized registration certificate. */ public static function serializeRegistrationCertificate(RegistrationCertificateInterface $model): array { @@ -86,7 +88,7 @@ public static function serializeRegistrationCertificate(RegistrationCertificateI * Serialize a vehicle brand. * * @param VehicleBrandInterface $model The model. - * @return array Returns the serialized model. + * @return array Returns the serialized model. */ public static function serializeVehicleBrand(VehicleBrandInterface $model): array { diff --git a/vendor/webeweb/core-library/src/vehicle/Serializer/SerializerKeys.php b/vendor/webeweb/core-library/src/vehicle/Serializer/SerializerKeys.php index 874c944..63c886f 100644 --- a/vendor/webeweb/core-library/src/vehicle/Serializer/SerializerKeys.php +++ b/vendor/webeweb/core-library/src/vehicle/Serializer/SerializerKeys.php @@ -1,5 +1,7 @@ "runGitPushOrigin", "--git-push-upstream" => "runGitPushUpstream", "--git-status" => "runGitStatus", - "--phpunit" => "runPhpunit", + "--phpstan" => "runPhpStan", + "--phpunit" => "runPhpUnit", "--license-update" => "runLicenseUpdate", "--phpcoveralls-update" => "runPhpCoverallsUpdate", "--phpmetrics-update" => "runPhpMetricsUpdate", @@ -166,6 +167,7 @@ public static function getAvailableOptions(): array { "--git-push-origin" => "Execute 'git push origin'", "--git-push-upstream" => "Execute 'git push upstream --all --tag'", "--git-status" => "Execute 'git status'", + "--phpstan" => "Execute 'vendor/bin/phpstan", "--phpunit" => "Execute 'vendor/bin/phpunit", "--license-update" => "Update LICENSE", "--phpcoveralls-update" => "Update PhpCoveralls ", @@ -254,6 +256,29 @@ private function hasLicense(): bool { ])); } + /** + * Determines if this directory has a PHPStan configuration. + * + * @return bool Returns true in case of success, false otherwise. + * @throws Throwable Throws an exception if an error occurs. + */ + private function hasPhpStanConfiguration(): bool { + + $cfg = file_exists(implode(DIRECTORY_SEPARATOR, [ + $this->getDirectory(), + "phpstan.neon.dist", + ])); + + $php = file_exists(implode(DIRECTORY_SEPARATOR, [ + $this->getDirectory(), + "vendor", + "bin", + "phpstan", + ])); + + return $cfg && $php; + } + /** * Determines if this directory has a PHPUnit configuration. * @@ -262,7 +287,7 @@ private function hasLicense(): bool { */ private function hasPhpUnitConfiguration(): bool { - $xml = file_exists(implode(DIRECTORY_SEPARATOR, [ + $cfg = file_exists(implode(DIRECTORY_SEPARATOR, [ $this->getDirectory(), "phpunit.xml.dist", ])); @@ -274,7 +299,7 @@ private function hasPhpUnitConfiguration(): bool { "phpunit", ])); - return $xml && $php; + return $cfg && $php; } /** @@ -559,6 +584,29 @@ public function runPhpMetricsUpdate(string $version): void { $this->runPharUpdate("phpmetrics", $version, "metrics"); } + /** + * Executes a command "phpstan". + * + * @return void + * @throws Throwable Throws an exception if an error occurs. + */ + public function runPhpStan(): void { + + if (false === $this->hasPhpStanConfiguration()) { + return; + } + + $php = $this->getPhpBinary(); + $cmd = implode(DIRECTORY_SEPARATOR, [ + "$php vendor", + "bin", + "phpstan", + ]); + + $this->logCommand($cmd); + $this->executeCommand($this->chainCommand($cmd), true); + } + /** * Updates the PhpStan version. * @@ -575,7 +623,7 @@ public function runPhpStanUpdate(string $version): void { * @return void * @throws Throwable Throws an exception if an error occurs. */ - public function runPhpunit(): void { + public function runPhpUnit(): void { if (false === $this->hasPhpUnitConfiguration()) { return;