Jan Böhmer
e2735823a0
Fixed tests for new PHPunit 11.5
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, sqlite) (push) Has been cancelled
2025-07-14 21:57:27 +02:00
Jan Böhmer
f3ad3c1ffe
Run phpunit code quality rector
2025-07-14 00:38:54 +02:00
Jan Böhmer
dc480f755c
Migrated phpunit annotations to attributes
2025-07-14 00:32:06 +02:00
Jan Böhmer
376c7e7a6f
Allow to parse ranges for ParameterDTO which just contain two dots
2025-02-20 00:17:53 +01:00
Jan Böhmer
42ecb83155
Rename duplicate parameters and attachments when importing from an info provider
...
This fixes issue #840
2025-02-01 23:14:42 +01:00
Jan Böhmer
d898ca736c
Applied rector to remaining test files
2024-06-22 00:37:47 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
frank-f
7a6b045030
Improve parameter parsing ( #583 )
...
* DigiKey: Skip empty values
* Move improved range detection from LCSCProvider to ParameterDTO class
Improve numeric value detection by moving extra info to value_text
* ParameterDTO: Add micro unit prefix
* Bring $value_text2 to a defined state
* ParameterDTO: Don't overwrite $unit if it's not empty
* ParameterDTO: Don't overwrite $unit if it's not empty
* Correct some inaccuacies in comments
* Added tests and fixed certain edge cases in parsing parameters
* Added more tests for parameter parsing
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-04-15 22:33:27 +02:00
Jan Böhmer
113e5b3bcd
Escape not only the pathes of FileDTO objects returned by info providers but the preview image url too.
...
This fixes the second issue in #521
2024-03-05 22:52:27 +01:00
Jan Böhmer
a5d184baef
Use rawurlencode instead of urlencode to sanatize URL-unsafe characters returned by the info providers.
2024-02-24 23:58:27 +01:00
Jan Böhmer
12e9497ccf
Sanatize remaining invalid URL characters somehow returned by InfoProviders
...
This fixes issue #521
2024-02-24 23:55:31 +01:00
Jan Böhmer
e1f1d10833
Added test for change on ParamterDTO done by PR #530
2024-02-24 22:51:02 +01:00
Jan Böhmer
d600cb4b9a
Improved parsing of parameters. Values with unit and ranges get now properly parsed into the Part-DB structures
2024-02-22 23:22:52 +01:00
Jan Böhmer
0f0adfcf36
Filter out duplicate file DTO returned by the info providers
2023-11-26 22:24:22 +01:00
Jan Böhmer
783a00ca2f
Added test for price related quantity in DTOToEntityConverter
2023-10-26 17:41:26 +02:00
Jan Böhmer
3a8c835880
Lazily sort info providers list, to prevent unneccesarry work on most container calls
2023-07-19 00:11:19 +02:00
Jan Böhmer
8ea92ef330
Added tests for DTOConverter
2023-07-15 18:18:35 +02:00
Jan Böhmer
94a26ae75a
Allow to extract ranges from paramaters
2023-07-15 01:41:29 +02:00