Skip to content

Code refactoring and modernization #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 12, 2023

Conversation

kamil-tekiela
Copy link
Contributor

No description provided.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

Update ShapeRecord.php

r
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
@MauricioFauth MauricioFauth merged commit d747d10 into phpmyadmin:master Sep 12, 2023
@MauricioFauth MauricioFauth self-assigned this Sep 12, 2023
@MauricioFauth MauricioFauth added this to the 4.0.0 milestone Sep 12, 2023
@kamil-tekiela kamil-tekiela deleted the modernization branch September 12, 2023 21:52
@MoonE
Copy link

MoonE commented Sep 12, 2023

@kamil-tekiela dd1362b breaks the phpmyadmin tests

There were 2 failures:

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testDoImport
    Failed asserting that PhpMyAdmin\Message Object #29202 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:170

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testImportOsm
    Failed asserting that PhpMyAdmin\Message Object #27819 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:135

MauricioFauth added a commit that referenced this pull request Sep 13, 2023
#24 (comment)

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
@MauricioFauth
Copy link
Member

dd1362b breaks the phpmyadmin tests

Fixed by 861d3b4. I reverted the change that caused the test to fail.

@kamil-tekiela
Copy link
Contributor Author

Thanks @MoonE for reporting the problem, and thanks @MauricioFauth for fixing it. I never imagined it could have been used this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants